mongoDbController property
MongoDbController
get
mongoDbController
MongoDb controller
Implementation
MongoDbController get mongoDbController {
if (!_dbConnected) {
throw DbNotConnectedException();
}
if (_app.dbSettings.mongoDBProvider == null) {
throw NoMongoDbProviderExceptions();
}
if (_mongoDbController == null) {
throw NoMongoDbProviderExceptions();
}
return _mongoDbController!;
}