mirror of
https://github.com/sstent/alex_app1.git
synced 2026-01-26 17:12:37 +00:00
lots of work so far-- mostly tidying
This commit is contained in:
9
node_modules/mongoskin/examples/admin.js
generated
vendored
Normal file
9
node_modules/mongoskin/examples/admin.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
var db = require('./config').db;
|
||||
|
||||
db.admin.listDatabases(function(err, result){
|
||||
if(err) {
|
||||
console.traceError(err);
|
||||
}
|
||||
console.log(result);
|
||||
db.close();
|
||||
})
|
||||
Reference in New Issue
Block a user