Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Created September 9, 2020 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aniruddha27/57a02a6f8bd6d3098403ad82fb1109e3 to your computer and use it in GitHub Desktop.
Save aniruddha27/57a02a6f8bd6d3098403ad82fb1109e3 to your computer and use it in GitHub Desktop.
# Execution stats for query to find all Indian restaurants in Manhattan
pprint(db.restaurants.find({'borough':'Manhattan','cuisine':'Indian'}).explain()['executionStats'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment