validateDatabaseConfig
Defined in: tsed/src/config/config.ts:48
Validate that exactly one database resolution strategy is provided.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
config | MonqueTsedConfig | The configuration to validate. |
Returns
Section titled “Returns”void
Throws
Section titled “Throws”Error if zero or multiple strategies are provided.