Created
June 30, 2014 01:37
-
-
Save bcicen/26329aa52dfb44020dc4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dCursor = db.realtime.find( { profileId: "673772" }); | |
var dDocument = dCursor.hasNext() ? dCursor.next() : null; | |
getsize = function(doc) { | |
var dSize = Object.bsonsize(doc); | |
print(dSize) | |
} | |
dCursor.forEach(getsize); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment