TS raises an error expected 0 arguments found 1 because it doesn't know if the drizzle instance is NeonDrizzle or PostgresDrizzle ahead of time even if they have the same underlying API. My guess is it arises because drizzle partially supports returning() so there's a side effect. Or I'm doing the wrong thing. It works for now but I must to look into this error soon.
TS raises an error
expected 0 arguments found 1
because it doesn't know if thedrizzle
instance isNeonDrizzle
orPostgresDrizzle
ahead of time even if they have the same underlying API. My guess is it arises becausedrizzle
partially supportsreturning()
so there's a side effect. Or I'm doing the wrong thing. It works for now but I must to look into this error soon.