OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::api::metadata::category::pull_fn Struct Reference

Function object to pull the categories from the metadata database. More...

#include <categories.hpp>

Public Types

using coro_t = boost::coroutines2::coroutine<category_t>

Public Member Functions

auto operator() (connection_ptr const &conn) const -> coro_t::pull_type

Detailed Description

Function object to pull the categories from the metadata database.

This function object provides an operator() that takes a connection pointer and returns a pull coroutine for iterating over the categories. It is designed to be used in a constexpr context for compile-time evaluation of pull operations.

Member Function Documentation

◆ operator()()

auto oxy::api::metadata::category::pull_fn::operator() ( connection_ptr const & conn) const -> coro_t::pull_type
Parameters
conn- The connection pointer to the metadata database.
Returns
A pull coroutine for iterating over the categories.