|
ORE Studio 0.0.4
|
Reads artefact_types from data storage. More...
#include <artefact_type_repository.hpp>

Public Types | |
| using | context = ores::database::context |
Public Member Functions | |
| artefact_type_repository (context ctx) | |
| std::string | sql () |
| std::vector< domain::artefact_type > | read_all () |
| std::optional< domain::artefact_type > | read_by_code (const std::string &code) |
Reads artefact_types from data storage.
This is a simple lookup table repository - read-only operations. Data is populated via SQL scripts.