NeonN
Neon2y ago
5 replies
urgent-maroon

Help using transactions with Drizzle

Hello! I am a little confused on how to set up and use Neon to enable transactions. I can see in the docs here (https://github.com/neondatabase/serverless?tab=readme-ov-file#pool-and-client) that Pool and Client need to be used, but unsure of how this would look exactly / impact my app.

I am using Drizzle in a Remix app. Are there any examples anyone can share on how to migrate this type of config to use Pool & Client?
GitHub
Connect to Neon PostgreSQL from serverless/worker/edge functions - neondatabase/serverless
Was this page helpful?