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

Reads and writes dataset bundles to data storage. More...

#include <dataset_bundle_repository.hpp>

Collaboration diagram for dataset_bundle_repository:
Collaboration graph

Public Types

using context = ores::database::context
 

Public Member Functions

 dataset_bundle_repository (context ctx)
 
std::string sql ()
 
void write (const domain::dataset_bundle &bundle)
 
void write (const std::vector< domain::dataset_bundle > &bundles)
 
std::vector< domain::dataset_bundleread_latest ()
 
std::vector< domain::dataset_bundleread_latest (const boost::uuids::uuid &id)
 
std::vector< domain::dataset_bundleread_latest_by_code (const std::string &code)
 
std::vector< domain::dataset_bundleread_all (const boost::uuids::uuid &id)
 
void remove (const boost::uuids::uuid &id)
 

Detailed Description

Reads and writes dataset bundles to data storage.