|
OXY API 1.0
OXY API Library Documentation
|
Database schema creation for the oxy core library. More...
Classes | |
| struct | oxy::core::create_schemas_fn |
| Function object to create database schemas. More... | |
Namespaces | |
| namespace | oxy |
| This root namespace contains the common types and operations for the OXY-API library. | |
| namespace | oxy::core |
| This namespace contains core types and operations for the OXY-API library. | |
Variables | |
| constexpr create_schemas_fn | oxy::core::create_schemas |
| A constexpr instance of the create_schemas_fn function object for use in functional programming. | |
Database schema creation for the oxy core library.
This header defines the create_schemas_fn function object, which provides functionality to create the necessary database schemas for the oxy core library. It includes operator() overloads that accept either a connection pointer or a filesystem path to a database file, allowing for flexible schema creation in different contexts. The schemas include tables for objects and references, ensuring that the database is properly structured for use in the oxy core library.
@license MPL-2.0