|
|
| change_reason_repository (context ctx) |
| |
|
std::string | sql () |
| | Returns the SQL created by sqlgen to construct the table.
|
| |
| std::vector< domain::change_reason > | read_latest (std::uint32_t offset, std::uint32_t limit) |
| | Reads latest change_reasons with pagination support.
|
| |
|
std::vector< domain::change_reason > | read_latest_by_category (const std::string &category_code) |
| | Reads latest change_reasons by category code.
|
| |
| std::uint32_t | get_total_count () |
| | Gets the total count of active change_reasons.
|
| |
| std::vector< domain::change_reason > | read_all (const std::string &code) |
| | Reads all historical versions of a change_reason by code.
|
| |
|
void | remove (const std::string &code) |
| | Deletes a change_reason by closing its temporal validity.
|
| |
|
|
void | write (const domain::change_reason &reason) |
| | Writes change_reasons to database.
|
| |
|
void | write (const std::vector< domain::change_reason > &reasons) |
| |
|
|
std::vector< domain::change_reason > | read_latest () |
| | Reads latest change_reasons, possibly filtered by code.
|
| |
|
std::vector< domain::change_reason > | read_latest (const std::string &code) |
| |
Reads and writes change_reasons to data storage.