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

Reads and writes rounding types to data storage. More...

#include <rounding_type_repository.hpp>

Collaboration diagram for rounding_type_repository:
Collaboration graph

Public Types

using context = ores::database::context
 

Public Member Functions

std::string sql ()
 
void write (context ctx, const domain::rounding_type &v)
 
void write (context ctx, const std::vector< domain::rounding_type > &v)
 
std::vector< domain::rounding_typeread_latest (context ctx)
 
std::vector< domain::rounding_typeread_latest (context ctx, const std::string &code)
 
std::vector< domain::rounding_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 rounding types by closing their temporal validity.
 

Detailed Description

Reads and writes rounding types to data storage.