mirror of
https://github.com/sstent/alex_app1.git
synced 2026-01-27 01:22:32 +00:00
lots of work so far-- mostly tidying
This commit is contained in:
8
node_modules/mongoskin/examples/insert.js
generated
vendored
Normal file
8
node_modules/mongoskin/examples/insert.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
var db = require('./config').db;
|
||||
|
||||
db.collection('test').insert({foo: 'bar'}, function(err, result) {
|
||||
console.log(result);
|
||||
db.collection('test').drop();
|
||||
db.close();
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user