Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Created September 9, 2020 13:40
Show Gist options
  • Save aniruddha27/831886e21c731599fe8f721107eb2815 to your computer and use it in GitHub Desktop.
Save aniruddha27/831886e21c731599fe8f721107eb2815 to your computer and use it in GitHub Desktop.
# Execution stats for query for all restaurants in Manhattan
pprint(db.restaurants.find({'borough':'Manhattan'}).explain()['executionStats'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment