Skip to content

Conversation

@alcaeus
Copy link
Collaborator

@alcaeus alcaeus commented Nov 20, 2023

The index covers the query made in PostRepository::findLatest:

  • Range filter on publishedAt
  • (optional) equality filter on tags.name
  • Sort on publishedAt

Note: this change has definitely not been tested.

@GromNaN GromNaN merged commit 83aaf9f into GromNaN:mongodb Nov 20, 2023
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.

2 participants