getDatabase method
Returns the internal DatabaseCore instance for the given db name. Handle with care: exposes the underlying database adapter.
Implementation
@override
DatabaseCore? getDatabase({String? dbName}) {
return databases.get(dbName ?? defaultDBName);
}