ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
database_options Struct Referencefinal

Configuration for database connection. More...

#include <database_options.hpp>

Collaboration diagram for database_options:
Collaboration graph

Public Attributes

std::string user
 Database user name.
 
rfl::Skip< std::string > password
 Password for the user.
 
std::string host = "localhost"
 Host to connect to.
 
std::string database
 Database to connect to.
 
int port = 5432
 Port the database is listening on.
 
std::string tenant
 Tenant code or ID for multi-tenant isolation.
 

Detailed Description

Configuration for database connection.

Member Data Documentation

◆ tenant

std::string tenant

Tenant code or ID for multi-tenant isolation.

Can be either a tenant code (e.g., "system", "acme") or a tenant UUID. Required for all operations in a multi-tenant environment.