12345678910111213 |
- /**
- * Created by root on 2015-07-20.
- */
- var db = require('./db.js');
- var collectionName = 'LoginRecords';
- module.exports.insert = function(record, callback)
- {
- db.getCollection(collectionName, function(err, collection){
- if (!err)
- collection.insert(record);
- });
- };
|