Multiple Prisma Clients, One App
![Multiple Prisma Clients, One App Multiple Prisma Clients, One App](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65100918-db93-4795-bb6b-27963bce3964_1200x630.png)
There are times where you need to connect to multiple databases within a single backend server. I've found this is a lightly documented subject on the official Prisma docs, and wanted to make a quick guide for others.
I have been working on a GraphQL server that combines multiple internal datasets from our company, so it's crucial that I can easily query…
Keep reading with a 7-day free trial
Subscribe to zach.codes to keep reading this post and get 7 days of free access to the full post archives.