SELECT * FROM users WHERE (name, age) IN (('John', 20), ('Bob', 25));
In this case, it would be ideal to infer the type of the 2D array as [string, number][] if possible. Also it would be great to see this implemented with notInArray too. Thanks in advance
Feature hasn't been suggested before.
Describe the enhancement you want to request
I ran into a case where I need to use multiple columns with IN and drizzle does not seem to support it yet. Following would be an example usage:
And generated query would be as follows:
In this case, it would be ideal to infer the type of the 2D array as
[string, number][]
if possible. Also it would be great to see this implemented withnotInArray
too. Thanks in advance