ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
artefact_type_repository Class Reference

Reads artefact_types from data storage. More...

#include <artefact_type_repository.hpp>

Collaboration diagram for artefact_type_repository:
Collaboration graph

Public Types

using context = ores::database::context
 

Public Member Functions

 artefact_type_repository (context ctx)
 
std::string sql ()
 
std::vector< domain::artefact_typeread_all ()
 
std::optional< domain::artefact_typeread_by_code (const std::string &code)
 

Detailed Description

Reads artefact_types from data storage.

This is a simple lookup table repository - read-only operations. Data is populated via SQL scripts.