Improve IN and NOT IN queries #76
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "kolaente/builder:feature/in-performance"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR improves
IN
andNOT IN
queries by removing duplicate values from it. These kinds of queries are not optimized in postgres or sqlite - for sqlite there is even a hard limit on how many parameters calls toIN
can take.In an ideal world, there would be more tests, I could add some more if needed. For now (and especially comparing to before) I think the new added tests are enough.
Why the CI didn't run? 🤔
@lunny Do you think we could pick this up again and merge it?
Yes, please update the branch and take a look at whether CI pass. Thanks!
@lunny Looks like the CI is having issues again (stuck in pending), could you take a look?
The tests pass locally now.
Thanks for merging! Any chance to get a release?