OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
context.hpp File Reference

Context representation and operations for the oxy core library. More...

Classes

struct  oxy::context::copy_fn
 A function object that copies rows from one database context to a specified path, with optional column selection. More...
struct  oxy::context::count_fn
 A function object that counts the number of rows in a database context. More...
struct  oxy::context::filter_t
 Representation of a filter. More...
struct  oxy::context::pull_fn
 A function object that pulls rows from a database context as a coroutine, optionally filtering results and selecting specific columns. More...
struct  oxy::context::push_fn
 A function object that pushes rows into a database context as a coroutine, allowing for dynamic insertion of data. More...
struct  oxy::context::remove_all_fn
 A function object that removes all rows from a database context. More...
struct  oxy::context::remove_fn
 A function object that removes rows from a database context as a coroutine, yielding the identifiers of the removed rows. More...
struct  oxy::context_t
 Representation of a context. More...

Namespaces

namespace  oxy
 This root namespace contains the common types and operations for the OXY-API library.

Variables

constexpr copy_fn oxy::context::copy
 A constexpr instance of the copy_fn function object for use in functional programming contexts.
constexpr count_fn oxy::context::count
 A constexpr instance of the count_fn function object for use in functional programming contexts.
constexpr pull_fn oxy::context::pull
 A constexpr instance of the pull_fn function object for use in functional programming contexts.
constexpr push_fn oxy::context::push
 A constexpr instance of the push_fn function object for use in functional programming contexts.
constexpr remove_fn oxy::context::remove
 A constexpr instance of the remove_fn function object for use in functional programming contexts.
constexpr remove_all_fn oxy::context::remove_all
 A constexpr instance of the remove_all_fn function object for use in functional programming contexts.

Detailed Description

Context representation and operations for the oxy core library.

This header defines the context_t structure, which encapsulates a database connection and schema information, and provides various operations such as pulling, pushing, removing, and counting rows in the context. It also includes utility functions for filtering results and managing data within the context.

@license MPL-2.0