-
-
Save jeffyuhaoliu/6482525 to your computer and use it in GitHub Desktop.
Node.js MongoDB HW#4.4 - This query, queries the profile data, looking for all queries to the students collection in the database school2, sorted in order of decreasing latency.
This file contains 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
db.profile.find({ns:/school2.students/}, {millis: 1}).sort({millis: -1}).pretty() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment