|
ORE Studio 0.0.4
|
Reads and writes image-tag associations off of data storage. More...
#include <image_tag_repository.hpp>

Public Types | |
| using | context = ores::database::context |
Public Member Functions | |
| std::string | sql () |
| Returns the SQL created by sqlgen to construct the table. | |
| void | remove (context ctx, const std::string &image_id, const std::string &tag_id) |
| Deletes an image-tag association. | |
| void | write (context ctx, const domain::image_tag &image_tag) |
| Writes an image-tag association to database. | |
| void | write (context ctx, const std::vector< domain::image_tag > &image_tags) |
| std::vector< domain::image_tag > | read_latest (context ctx) |
| Reads latest image-tag associations, optionally filtered. | |
| std::vector< domain::image_tag > | read_latest_by_image (context ctx, const std::string &image_id) |
| std::vector< domain::image_tag > | read_latest_by_tag (context ctx, const std::string &tag_id) |
Reads and writes image-tag associations off of data storage.