1
I have the export of a Collection that owns some documents, I need to export one of these documents and its size. I tried something of that nature:
mongoexport -d test -c records -q '{ a: { $gte: 3 } }' --out exportdir/myRecords.json
Didn’t happen what I need.
Is there any function that returns the size of a document in mongodb Collection?
"size" you refer to the amount of records (root) or size in bytes?
– Alexandre Cavaloti
I mean the amount of records!
– Carlos André