Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoDB index management with API #247

Merged
merged 24 commits into from Apr 9, 2021
Merged

MongoDB index management with API #247

merged 24 commits into from Apr 9, 2021

Conversation

munrojm
Copy link
Member

@munrojm munrojm commented Apr 9, 2021

This PR contains:

  • ensure_indexes method added to query operator to define keys for MongoDB indexes
  • Index setup method added to Resource
  • Main app now checks for API_DEBUG environment variable to control whether the index setup methods for each resource are called

@munrojm munrojm merged commit dcd06a9 into main Apr 9, 2021
@munrojm munrojm deleted the handle_db_indices branch April 9, 2021 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant