mongoexport query timestamp

mongoexport ... --query '{"start_time":{"$gte":new Date(1351641600000),"$lt":new Date(1351728000000)}}' --out 20121031.json

*the last three digits is #operations within a given second.

This entry was posted in mongodb and tagged . Bookmark the permalink.

Leave a comment