Neon DB pooled connection prepared statement error

When using Neon DB with pooled connection it gives the following error:
- error node_modules\@neondatabase\serverless\index.js (1539:47) @ execute
- error NeonDbError: db error: ERROR: prepared statement "s10734" does not exist

Caused by:
ERROR: prepared statement "s10734" does not exist
at async getFeedbacks (./src/lib/feedbacks.ts:47:20)
null
- error node_modules\@neondatabase\serverless\index.js (1539:47) @ execute
- error NeonDbError: db error: ERROR: prepared statement "s10734" does not exist

Caused by:
ERROR: prepared statement "s10734" does not exist
at async getFeedbacks (./src/lib/feedbacks.ts:47:20)
null
The above error happends when using prepared statement, as well as when not using prepared statements. Without pooled connection it works.
1 Reply
Screw
Screw13mo ago
are you using Transactions?
Want results from more Discord servers?
Add your server