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

Reads and writes counterparty identifiers to data storage. More...

#include <counterparty_identifier_repository.hpp>

Collaboration diagram for counterparty_identifier_repository:
Collaboration graph

Public Types

using context = ores::database::context
 

Public Member Functions

 counterparty_identifier_repository (context ctx)
 
std::string sql ()
 
void write (const domain::counterparty_identifier &counterparty_identifier)
 
void write (const std::vector< domain::counterparty_identifier > &counterparty_identifiers)
 
std::vector< domain::counterparty_identifierread_latest ()
 
std::vector< domain::counterparty_identifierread_latest (const boost::uuids::uuid &id)
 
std::vector< domain::counterparty_identifierread_latest_by_code (const std::string &code)
 
std::vector< domain::counterparty_identifierread_latest_by_counterparty_id (const boost::uuids::uuid &counterparty_id)
 
std::vector< domain::counterparty_identifierread_all (const boost::uuids::uuid &id)
 
void remove (const boost::uuids::uuid &id)
 

Detailed Description

Reads and writes counterparty identifiers to data storage.