Struggling to work with JSONB `where`
So I have a
jsonb
column in Postgres (Using the Neon HTTP driver), and I'm trying to run a query to filter out based on the jsonb column:
Neon keeps coming back with the following error:
1 Reply
I checked and the query does work in raw SQL, so is there something funky perhaps going on with
sql
prepared statements?
Seems to work if I use sql.raw()
instead 🤷♀️