utils
parseDataSourceConfig()
parseDataSourceConfig(configOrString): DataSourceOptions
Ensure configOrString is normalized to an object.
Parameters
Parameter | Type |
---|---|
configOrString | string | DataSourceOptions |
Returns
DataSourceOptions
updateConnectionEntities()
updateConnectionEntities(dataSource, entities): Promise<void>
Parameters
Parameter | Type |
---|---|
dataSource | DataSource |
entities | any [] |
Returns
Promise
<void
>