UNPKG

node-mongodb-test2

Version:

A package and CLI for MongoDB fixtures

22 lines (20 loc) 355 B
// use js modules to programmatically manipulate fixture data var ObjectId = require('mongodb').ObjectID; module.exports = [ { _id: ObjectId(), name: 'Carmine', address: { city: 'Boston', state: 'MA', }, }, { _id: ObjectId(), name: 'Jimmy', address: { city: 'Denver', state: 'CO', }, }, ];