|
ORE Studio 0.0.4
|
Reads and writes data_domains to data storage. More...
#include <data_domain_repository.hpp>

Public Types | |
| using | context = ores::database::context |
Public Member Functions | |
| data_domain_repository (context ctx) | |
| std::string | sql () |
| Returns the SQL created by sqlgen to construct the table. | |
| std::vector< domain::data_domain > | read_latest (std::uint32_t offset, std::uint32_t limit) |
| Reads latest data_domains with pagination support. | |
| std::uint32_t | get_total_count () |
| Gets the total count of active data_domains. | |
| std::vector< domain::data_domain > | read_all (const std::string &name) |
| Reads all historical versions of a data_domain by name. | |
| void | remove (const std::string &name) |
| Deletes a data_domain by closing its temporal validity. | |
| void | write (const domain::data_domain &data_domain) |
| Writes data_domains to database. | |
| void | write (const std::vector< domain::data_domain > &data_domains) |
| std::vector< domain::data_domain > | read_latest () |
| Reads latest data_domains, possibly filtered by name. | |
| std::vector< domain::data_domain > | read_latest (const std::string &name) |
Reads and writes data_domains to data storage.