OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::context_t Struct Reference

Representation of a context. More...

#include <context.hpp>

Public Member Functions

 context_t (connection_ptr const &conn, std::string const &schema)
auto const & conn () const
 operator connection_ptr () const
 operator database_t const & () const
auto operator<=> (context_t const &) const =default
auto const & schema () const

Detailed Description

Representation of a context.

A context is a combination of a connection and a schema. It is used to represent the current state of the database and the schema being used. The context is used to perform operations on the database and retrieve data from the schema. It provides access to the connection and schema, and can be used to perform operations on the database and retrieve data from the schema.