records = [];
var cursor = db.getCollection('foo').find({}, {});
while(cursor.hasNext()) {
records.push(cursor.next())
}
print(tojson(records));
Created
March 24, 2018 16:54
-
-
Save ricventu/a67ae29278949722552976e980b767e6 to your computer and use it in GitHub Desktop.
Robo 3T collection export
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment