-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi
I think it would be great if we could have something like this
config.js file - https://github.com/gojarvis/Jane/blob/master/config/config.js
dbtype : 'mysql' || 'couch' || 'redis' || 'mongodb',
database : 'my_testdb',
dbusername : 'username',
dbpassword : 'password'
article.js or other files using db connect
schema = new Schema( config.dbtype , {
url: config.db, // for mongo and othere db's with url's
database: config.database , // for mysql and other db's with databases
username:config.username
}),
I tried in the local 👍
Metadata
Metadata
Assignees
Labels
No labels