mirror of
https://github.com/sstent/node.git
synced 2026-01-27 23:51:45 +00:00
big update - restarted app including jquery
This commit is contained in:
9
app/node_modules/mongoskin/examples/admin.js
generated
vendored
Normal file
9
app/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