|
OXY-SYNC-DIRECTORY 1.0
OXY-SYNC-DIRECTORY Library Documentation
|
Function object for obtaining a context_t from a connection and schema. More...
#include <context.hpp>
Public Member Functions | |
| context_t | operator() (connection_ptr const &conn) const |
| context_t | operator() (connection_ptr const &conn, std::string const &schema) const |
| Obtains a context_t from a connection pointer and schema name. | |
Function object for obtaining a context_t from a connection and schema.
This function object provides a callable interface for obtaining a context_t from a connection pointer and schema name.
| context_t oxy::directory::get_context_fn::operator() | ( | connection_ptr const & | conn, |
| std::string const & | schema ) const |
Obtains a context_t from a connection pointer and schema name.
| conn | The connection pointer to the database |
| schema | The name of the database schema |
References operator()().
Referenced by operator()().