Multiple Prisma Clients, One App
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.