[Postgres] prepared with inArray & placeholder
Hello there,
I can't see why It ends with an error :/
Any idea?
It only fails with array kind placeholder š¢
Looks like
()
are missing?4 Replies
I guess each param in array should be parameterized
like
where "table"."user_id" in ($1, $2, $3)
I guess it's something we need to fixWhen I write it in raw sql like
It tries to join the array :
yeah, I guess this one won't work
you can try this trick for now
https://orm.drizzle.team/docs/sql#sqljoin
so try to
I may have lost something
typed it directly here without checking in IDE
But the idea is to create the sql yourseld iterating through array of values
also you can replace
with placeholder
this is s workaround for now, so you won't be blocked
but should be fixed on our and for sure
I have to test it more, but it seems to work too.
š§ļø