Open pedro757 opened 3 weeks ago
drizzle-orm
0.31.0
drizzle-kit
0.22.1
// This fails with this message: InArray Requires At Least One Value inArray(column, myArray).if(myArray.length)
I'd like the .if() to run before the the inArray() so I don't get the error InArray Requires At Least One Value when the array is empty
.if()
inArray()
InArray Requires At Least One Value
No response
What version of
drizzle-orm
are you using?0.31.0
What version of
drizzle-kit
are you using?0.22.1
Describe the Bug
Expected behavior
I'd like the
.if()
to run before the theinArray()
so I don't get the errorInArray Requires At Least One Value
when the array is emptyEnvironment & setup
No response