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

Reads and writes tenant types to data storage. More...

#include <tenant_type_repository.hpp>

Collaboration diagram for tenant_type_repository:
Collaboration graph

Public Types

using context = ores::database::context
 

Public Member Functions

std::string sql ()
 
void write (context ctx, const domain::tenant_type &type)
 
void write (context ctx, const std::vector< domain::tenant_type > &types)
 
std::vector< domain::tenant_typeread_latest (context ctx)
 
std::vector< domain::tenant_typeread_latest (context ctx, const std::string &type)
 
std::vector< domain::tenant_typeread_all (context ctx, const std::string &type)
 
void remove (context ctx, const std::string &type)
 
void remove (context ctx, const std::vector< std::string > &types)
 

Detailed Description

Reads and writes tenant types to data storage.