@prisma/pg-worker
is an optimized and lightweight version of pg
that is designed to be used in a worker. It is a drop-in replacement for pg
and is fully compatible with Prisma ORM.
Head over to the adapter-pg-worker package to learn how to use it with Prisma ORM.