-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
mongo-knex generates for some cases multiple sub queries in the where clause e.g. for
$and: [{'tags.slug': 'en'}, {'tags.slug': 'de'}]
But there are some cases where we currently generate multiple sub queries, where we don't have to.
This issue should simply collect use cases over time to optimise the performance of the attached queries. I will leave a comment with a use case i discovered in a bit.
Just leave a comment if you discover or want to discuss a case 👍