-
-
Save lakshmankashyap/e1f3182704718de7288e0a0f1c4bc48a to your computer and use it in GitHub Desktop.
MongoDB: Find dates in a range.
This file contains hidden or 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 start = new Date(2013, 5, 4) | |
var end = new Date(2013, 5, 6) | |
db.mention_stat.find({"verification": {"$gte": start, "$lt": end}}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment