Yes, that’s the simpler and faster solution.
You need to ensure your queries match your index, but when isn’t that true :)
> but when isn’t that true
When you write another query against that index a few weeks later and forget about the caveat, that slight change in where clause will ignore that index.
> but when isn’t that true
When you write another query against that index a few weeks later and forget about the caveat, that slight change in where clause will ignore that index.