fluxe
DTDrizzle Team
•Created by fluxe on 12/27/2023 in #help
Prepared queries don't appear to be generated
I'm using Drizzle with Postgres.js, which should auto generate prepared queries. I have this query here
and have tested this query both with and without
prepare
. I've then (on the same application) run
to confirm that the prepared statement was created, but it always returns 0 rows, even after running the first query a bunch of times. I've also confirmed that the issue remains even after setting prepare: true
in the Postgres.js config. Is there an issue here, or is my understanding of checking for prepared statements wrong?3 replies