You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to make make a matcher to ensure that a given request is a covered query ?
We could take advantage of mongodb's explain feature to check this.
I have written some basic tests that make sure the winning plan relies on an IXSCAN, I believe it would be possible to build more advanced matchers based on this ?
The text was updated successfully, but these errors were encountered:
Startouf
changed the title
Matcher to test that a query is covered by an index
Matcher to test that a query is covered by an index (covered query)
Nov 13, 2020
Would it be possible to make make a matcher to ensure that a given request is a covered query ?
We could take advantage of mongodb's explain feature to check this.
I have written some basic tests that make sure the winning plan relies on an IXSCAN, I believe it would be possible to build more advanced matchers based on this ?
I know it mainly depends on what data you need to retrieve, but it could prove very useful to ensure the code is fast.
Note that it may be slightly more difficult for special queries like count
The text was updated successfully, but these errors were encountered: