3 ms·
It's possible now with the built-in "db adapter" plugin. I also have lots of misgivings about the Prisma ORM, but this particular thing is possible now.
by foreigner 2y ago
It's possible now with the built-in "db adapter" plugin. I also have lots of misgivings about the Prisma ORM, but this particular thing is possible now.
- mplanchard 2y agoCan’t find any docs on this, could you point me to what you’re referencing?
- foreigner 2y agoConfigure Prisma with https://www.prisma.io/docs/orm/overview/databases/postgresql#using-the-node-postgres-driver https://www.prisma.io/docs/orm/overview/databases/postgresql... Then you can pass `statement_timeout` when you create the `pg.Pool`
- mplanchard 2y agoOh I see, thanks! So you just need to opt out of their drivers entirely and configure with the alternative package’s driver.