|
|
@ -74,7 +74,7 @@ var Datastore = require('nedb') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Of course you can create multiple datastores if you need several |
|
|
|
// Of course you can create multiple datastores if you need several |
|
|
|
// collections. For example: |
|
|
|
// collections. In this case it's usually a good idea to use autoload for all collections. |
|
|
|
db = {}; |
|
|
|
db = {}; |
|
|
|
db.users = new Datastore('path/to/users.db'); |
|
|
|
db.users = new Datastore('path/to/users.db'); |
|
|
|
db.robots = new Datastore('path/to/robots.db'); |
|
|
|
db.robots = new Datastore('path/to/robots.db'); |
|
|
|