OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::core::object::get_when_fn Struct Reference

Function object to retrieve the timestamp associated with an object in the container. More...

#include <object.hpp>

Public Member Functions

auto operator() (connection_ptr const &conn, oid_t const &item) const -> maybe< timestamp_t >

Detailed Description

Function object to retrieve the timestamp associated with an object in the container.

This function object provides an operator() that takes a connection pointer and an OID, and returns a maybe<timestamp_t> indicating whether the timestamp was found. It is designed to be used in a coroutine-based context for efficient retrieval of object timestamps.