How drizzle handle nulls and undefineds ?
I'm running this query, but some values in where clause are undefined, how do i make it optional ?
Error: UNDEFINED_VALUE: Undefined values are not allowed
query:
2 Replies
There is not undefined in SQL, there is no way for drizzle to do something about it.
I would create an array of
eq
like this:
@angelelz Gonna try, thanks