|
OXY API 1.0
OXY API Library Documentation
|
Function object to retrieve a context for container metadata record operations in the metadata database. More...
#include <metadata.hpp>
Public Member Functions | |
| context_t | operator() (connection_ptr const &conn, std::string const &schema) const |
| context_t | operator() (std::string const &schema) const |
Function object to retrieve a context for container metadata record operations in the metadata database.
This function object provides two operator() overloads: one that takes a connection pointer and a schema name, and another that takes only a schema name. Both overloads return a context_t instance representing the context for container metadata record operations in the metadata database. It is designed to be used in a constexpr context for compile-time evaluation of context retrieval operations.
| context_t oxy::api::metadata::get_context_fn::operator() | ( | connection_ptr const & | conn, |
| std::string const & | schema ) const |
| conn | - The connection pointer to the metadata database. |
| schema | - The name of the schema for the context. |