Skip to content

Commit

Permalink
Update content/200-orm/500-reference/050-prisma-client-reference.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Harrell <[email protected]>
  • Loading branch information
nikolasburk and jharrell authored Jan 6, 2025
1 parent 3ed3c4a commit 65e9efa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions content/200-orm/500-reference/050-prisma-client-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1373,15 +1373,14 @@ const updatedUserCount = await prisma.user.updateMany({

### `updateManyAndReturn()`

`updateManyAndReturn` updates multiple records and returns the resulting objects.

:::info

`updateManyAndReturn()` is only available in Prisma ORM version 6.2.0 and up.
`updateManyAndReturn()` is only available for PostgreSQL, CockroachDB, and SQLite.
This feature is available in Prisma ORM version 6.2.0 and later for PostgreSQL, CockroachDB and SQLite.

:::

`updateManyAndReturn` updates multiple records and returns the resulting objects.

#### Options

| Name | Type | Required | Description |
Expand Down

0 comments on commit 65e9efa

Please sign in to comment.