Constructors
ControllerDatabaseModule()
Properties
connect: (connect_config?: TDatabaseConnectConfig) => Promise<EdgeDBClient>
Methods
_configure(): Promise<TDatabaseModuleConfig>
The _configure
function returns a Promise that resolves with a database configuration object
based on the provided environment variables.
_preflight(): Promise<void>
The _preflight
function performs preflight checks and retrieves system information and service
account details from a database.
_startup(): Promise<void>
The _startup
function connects to a database, performs a transaction, and executes a setup
routine for tenants.
Constructors
ControllerDatabaseModule()
Properties
connect: (connect_config?: TDatabaseConnectConfig) => Promise<EdgeDBClient>
Methods
_configure(): Promise<TDatabaseModuleConfig>
The _configure
function returns a Promise that resolves with a database configuration object
based on the provided environment variables.
_preflight(): Promise<void>
The _preflight
function performs preflight checks and retrieves system information and service
account details from a database.
_startup(): Promise<void>
The _startup
function connects to a database, performs a transaction, and executes a setup
routine for tenants.