Created
May 17, 2018 19:07
-
-
Save gustavobite/9a49bc9ada200ee21f1b00b342f423b8 to your computer and use it in GitHub Desktop.
Querys MongoDB
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
--- Find all schedules between two dates and id | |
db.getCollection('schedules').find({deviceId:'5CCF7FD6F728', time: { | |
$gte: ISODate("2017-08-24 18:14:14.000Z"), | |
$lt: ISODate("2017-08-24 18:14:14.000Z") | |
}}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment