|
ORE Studio 0.0.4
|
Repository for managing folders in the SQLite database. More...
#include <folder_repository.hpp>

Public Member Functions | |
| folder_repository (sqlite_context &ctx) | |
| void | write (const domain::folder &f) |
| Create or update a folder. | |
| void | write (const std::vector< domain::folder > &folders) |
| Create or update multiple folders. | |
| std::vector< domain::folder > | read_all () |
| Read all folders. | |
| std::optional< domain::folder > | read_by_id (const boost::uuids::uuid &id) |
| Read a folder by ID. | |
| std::vector< domain::folder > | read_by_parent (const std::optional< boost::uuids::uuid > &parent_id) |
| Read folders by parent ID (null for root folders). | |
| void | remove (const boost::uuids::uuid &id) |
| Delete a folder by ID. | |
Repository for managing folders in the SQLite database.