Skip to content

Instantly share code, notes, and snippets.

@kdipaolo
Created August 29, 2018 16:57
Show Gist options
  • Save kdipaolo/e74070b96ca79d9c24c189c38943b0a4 to your computer and use it in GitHub Desktop.
Save kdipaolo/e74070b96ca79d9c24c189c38943b0a4 to your computer and use it in GitHub Desktop.
// In a production application make sure collections are indexed for performance reasons
// Anything you are finding (.find()) on in mongo make sure it is an index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment