You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be great for the query to not fire. Ran into the same thing. I guess the best course of action is to convert to an NEA and conditionally fire the insert.
What version of
drizzle-orm
are you using?0.23.10
Describe the Bug
Given this query:
values([])
generates "", which generates SQL likeWhich is invalid. Unfortunately TS is limited in saying that a type must be a "non-empty array" but maybe postgres will accept
()
as values?The text was updated successfully, but these errors were encountered: