Skip to content

Commit

Permalink
Update content/200-concepts/100-components/02-prisma-client/065-read-…
Browse files Browse the repository at this point in the history
…replicas.mdx
  • Loading branch information
ruheni authored Nov 21, 2023
1 parent 56e77bd commit 70bf217
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ await prisma.post.create({
```
<!-- prettier-ignore-end -->

With the above setup, all read operations, e.g. `findMany`, will be executed against the database replica. All write operations e.g. `create`, `update` and `$transaction` queries, will be executed against your primary database.
All read operations, e.g. `findMany`, will be executed against the database replica with the above setup. All write operations e.g. `create`, `update` and `$transaction` queries, will be executed against your primary database.

If you run into a bug or have feedback, create a GitHub issue [here](https://github.com/prisma/extension-read-replicas/issues/new).

## Configure multiple database replicas

Expand Down

0 comments on commit 70bf217

Please sign in to comment.