Skip to content

Commit

Permalink
update query descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ruheni committed Nov 17, 2023
1 parent 3f59d4b commit 621afd2
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@ const prisma = new PrismaClient().$extends(
})
)

// Run against the database replica
// Query is run against the database replica
await prisma.post.findMany()

// Run against the primary database
await prisma.post.create({ data: {/** */},})
// Query is run against the primary database
await prisma.post.create({
data: {/** */},
})
```
<!-- prettier-ignore-end -->

Expand Down

0 comments on commit 621afd2

Please sign in to comment.