prisma / extension-read-replicas

Prisma Client Extension to add read replica support to your Prisma Client
Apache License 2.0
101 stars 6 forks source link

Documentation - How does the normal/write instance's URL mentioned for the PrismaClient #33

Closed KrishnaPravin closed 9 months ago

KrishnaPravin commented 9 months ago

In this section of the documentation, the normal/write instance's URL is not mentioned. https://www.prisma.io/docs/orm/prisma-client/setup-and-configuration/read-replicas#setup-the-read-replicas-extension.

Is the URL in the prisma.schema file is itself sufficient ?

SevInf commented 9 months ago

@KrishnaPravin, yes, url from schema file is the primary URL.