MongooseDataSourceManager
Hierarchy
- DataSourceManager<mongoose.Connection>
- MongooseDataSourceManager
Index
Constructors
constructor
Properties
baseDir
config
logger
Methods
createInstance
destroyDataSource
getAllDataSources
getDataSource
getDataSourceNameByModel
get data source name by model or repository
getDataSourceNames
getDataSourcePriority
getDefaultDataSourceName
getName
hasDataSource
check data source has exists
init
isConnected
check the data source is connected
isHighPriority
isLowPriority
isMediumPriority
stop
Call destroyDataSource() on all data sources
get a data source instance