Created
August 29, 2017 03:20
-
-
Save geoluther/25543c8e97292937a52b21d3a6c1c7b5 to your computer and use it in GitHub Desktop.
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
| // mongo shell query to find date range, 120 = number of minutes | |
| query = { date: { $gt: new Date(ISODate().getTime() - 1000 * 60 * 120) } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment