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

Reads and writes trade ID types to data storage. More...

#include <trade_id_type_repository.hpp>

Collaboration diagram for trade_id_type_repository:
Collaboration graph

Public Types

using context = ores::database::context
 

Public Member Functions

std::string sql ()
 
void write (context ctx, const domain::trade_id_type &v)
 
void write (context ctx, const std::vector< domain::trade_id_type > &v)
 
std::vector< domain::trade_id_typeread_latest (context ctx)
 
std::vector< domain::trade_id_typeread_latest (context ctx, const std::string &code)
 
std::vector< domain::trade_id_typeread_all (context ctx, const std::string &code)
 
void remove (context ctx, const std::string &code)
 
void remove (context ctx, const std::vector< std::string > &codes)
 Deletes trade ID types by closing their temporal validity.
 

Detailed Description

Reads and writes trade ID types to data storage.