Skip to content

Commit

Permalink
fix(accelerate/api-reference): Add () to Prisma Client API operatio…
Browse files Browse the repository at this point in the history
…ns (#5665)

* fix(accelerate/api-reference): Add `()` to Prisma Client API operations

* cSpell

---------

Co-authored-by: Jon Harrell <[email protected]>
  • Loading branch information
janpio and jharrell authored Apr 20, 2024
1 parent a4909e1 commit 1149da3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@
"Dundring",
"Letterpad",
"Hitori",
"Zenstack"
"Zenstack",
"Streamdal"
],
"ignoreWords": [
"Ania",
Expand Down
14 changes: 7 additions & 7 deletions content/300-accelerate/400-api-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ await prisma.user.findMany({
The following is a list of all read query operations and support `cacheStrategy`:

- [`findUnique()`](/orm/reference/prisma-client-reference#findunique)
- [`findUniqueOrThrow`](/orm/reference/prisma-client-reference#finduniqueorthrow)
- [`findFirst`](/orm/reference/prisma-client-reference#findfirst)
- [`findFirstOrThrow`](/orm/reference/prisma-client-reference#findfirstorthrow)
- [`findMany`](/orm/reference/prisma-client-reference#findmany)
- [`count`](/orm/reference/prisma-client-reference#count)
- [`aggregate`](/orm/reference/prisma-client-reference#aggregate)
- [`findUniqueOrThrow()`](/orm/reference/prisma-client-reference#finduniqueorthrow)
- [`findFirst()`](/orm/reference/prisma-client-reference#findfirst)
- [`findFirstOrThrow()`](/orm/reference/prisma-client-reference#findfirstorthrow)
- [`findMany()`](/orm/reference/prisma-client-reference#findmany)
- [`count()`](/orm/reference/prisma-client-reference#count)
- [`aggregate()`](/orm/reference/prisma-client-reference#aggregate)
- [`groupBy()`](/orm/reference/prisma-client-reference#groupby)

<Admonition type="info">

The `cacheStrategy` parameter is not supported on any write operations, such as `create`.
The `cacheStrategy` parameter is not supported on any write operations, such as `create()`.

</Admonition>

Expand Down

0 comments on commit 1149da3

Please sign in to comment.