PrismaP
Prisma2y ago
erics

Vercel Edge Functions + tRPC + Prisma + CockroachDB

Is it possible right now to run Prisma with CockroachDB with tRPC within Vercel edge functions? If so, how would I go about doing that? Are there any drawbacks?
Solution
Without Accelerate, no.

Unfortunately Vercel Edge Functions support a pretty limited set of database drivers that does not include CockroachDB.

So, without a db driver to use, we can't create support for other databases (such as Cockroach).

You can use Accelerate that would definitely work 🙂
Was this page helpful?