1.0.0 • Published 7 years ago
mongodb-document-bsonfy v1.0.0
mongodb-document-bsonfy
A shell function that would bsonfy mongodb documents like what mongoexport does.
How To Use
Do not require
this module in node, use it in a mongo shell
// exporter-example.js
// db.tests.insert({ ... })
load('./lib/bsonfy.js') // path to bsonfy.js
db.tests.find({}).forEach(function (doc) {
print(bsonfy(doc))
})
mongodb exporter-example.js
1.0.0
7 years ago