|
OXY API 1.0
OXY API Library Documentation
|
Function object to enumerate the commits in a container. More...
#include <commit.hpp>
Public Types | |
| using | coro_t = boost::coroutines2::coroutine<oid_t> |
Public Member Functions | |
| auto | operator() (const connection_ptr &conn, const oid_t &begin, const oid_t &end) const -> coro_t::pull_type |
Function object to enumerate the commits in a container.
This functor provides a coroutine-based interface to enumerate commits in a container. It allows for lazy evaluation of commits between a specified range of object IDs (OIDs).
| auto oxy::core::pull_oid_fn::operator() | ( | const connection_ptr & | conn, |
| const oid_t & | begin, | ||
| const oid_t & | end ) const -> coro_t::pull_type |
| conn | - A pointer to the database (container) connection from which to enumerate commits. |
| begin | - The starting OID of the range to enumerate commits. |
| end | - The ending OID of the range to enumerate commits. |