How to Handle transaction with Nextjs 14 and Drizzle ORM
I am developing a app with nextjs14, drizzle orm & neonDB/postgress and having issue with transaction quries
here is my code src/db/drizzle.ts import { config } from "dotenv"; import { drizzle } from 'drizzle-orm/neon-http'; import * as schema from "./schema"; config({ path: ".env" }); // or .env.local export const db = drizzle(process.env.DATABASE_URL!,{ schema: schema });