|
|
std::string | sql () |
| | Returns the SQL created by sqlgen to construct the table.
|
| |
| std::vector< domain::tag > | read_latest (context ctx, std::uint32_t offset, std::uint32_t limit) |
| | Reads latest tags with pagination support.
|
| |
| std::uint32_t | get_total_tag_count (context ctx) |
| | Gets the total count of active tags.
|
| |
|
std::vector< domain::tag > | read_all (context ctx) |
| | Reads all tags (including historical versions).
|
| |
|
void | remove (context ctx, const std::string &tag_id) |
| | Deletes a tag by closing its temporal validity.
|
| |
|
|
void | write (context ctx, const domain::tag &tag) |
| | Writes a tag to database.
|
| |
|
void | write (context ctx, const std::vector< domain::tag > &tags) |
| |
|
|
std::vector< domain::tag > | read_latest (context ctx) |
| | Reads latest tags, possibly filtered by tag_id or name.
|
| |
|
std::vector< domain::tag > | read_latest_by_id (context ctx, const std::string &tag_id) |
| |
|
std::vector< domain::tag > | read_latest_by_name (context ctx, const std::string &name) |
| |
Reads and writes tags off of data storage.