Skip to content

Commit

Permalink
Update content/200-orm/200-prisma-client/150-using-raw-sql/200-raw-qu…
Browse files Browse the repository at this point in the history
…eries.mdx

Co-authored-by: Jon Harrell <[email protected]>
  • Loading branch information
shahriar-shojib and jharrell authored Dec 5, 2024
1 parent adb4a4c commit b43fe03
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,6 @@ const result = await prisma.user.aggregateRaw({
- `pipeline`: An array of aggregation stages to process and transform the document stream via the [aggregation pipeline](https://www.mongodb.com/docs/manual/reference/operator/aggregation-pipeline).
- `options`: Additional options to pass to the [`aggregate` command](https://www.mongodb.com/docs/manual/reference/command/aggregate/#command-fields).

:::info
#### Caveats

When working with custom objects like `ObjectId` or `Date,` you will have to pass them according to the [MongoDB extended JSON Spec](https://www.mongodb.com/docs/manual/reference/mongodb-extended-json/#type-representations).
Expand Down

0 comments on commit b43fe03

Please sign in to comment.