.prepare() in Next.js App Router

Hello! I'm trying to use PostgresQL prepared statement in the Next.js App Router and I have been getting stuck on "prepared statement already exists"

Does anyone have an example I can refer to? It'd be a lot of help!
Was this page helpful?