You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to propose to allow multiple databases per app. The official docs state it is advisable to have one database per app but I see no reason why this could not be configurable? Something like config.allowMultipleDatabases and then change db-factory.js as follows:
function DBFactory($q) {
return function (config) {
if (!_db || config.allowMultipleDatabases)
_db = new DB($q, config);
return _db;
};
}
Interested in your thoughts on this.
The text was updated successfully, but these errors were encountered:
I would like to propose to allow multiple databases per app. The official docs state it is advisable to have one database per app but I see no reason why this could not be configurable? Something like config.allowMultipleDatabases and then change
db-factory.js
as follows:Interested in your thoughts on this.
The text was updated successfully, but these errors were encountered: