Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ const result = await prisma.user.findRaw({
<model>.findRaw(args?: {filter?: InputJsonObject, options?: InputJsonObject}): PrismaPromise<JsonObject>;
```

- `filter`: The query predicate filter. If unspecified, then all documents in the collection will match the [predicate](https://www.mongodb.com/docs/manual/reference/operator/query).
- `filter`: The query predicate filter. If unspecified, then all documents in the collection will match the [predicate](https://www.mongodb.com/docs/manual/reference/mql/query-predicates/).
- `options`: Additional options to pass to the [`find` command](https://www.mongodb.com/docs/manual/reference/command/find/#command-fields).

### `aggregateRaw()`
Expand All @@ -849,7 +849,7 @@ const result = await prisma.user.aggregateRaw({
<model>.aggregateRaw(args?: {pipeline?: InputJsonObject[], options?: InputJsonObject}): PrismaPromise<JsonObject>;
```

- `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).
- `pipeline`: An array of aggregation stages to process and transform the document stream via the [aggregation pipeline](https://www.mongodb.com/docs/atlas/data-federation/supported-unsupported/supported-aggregation/).
- `options`: Additional options to pass to the [`aggregate` command](https://www.mongodb.com/docs/manual/reference/command/aggregate/#command-fields).

#### Caveats
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Prisma ORM generates many [additional filters](/orm/prisma-client/queries/filter

**Mongoose**

Mongoose exposes the [MongoDB query selectors](https://www.mongodb.com/docs/manual/reference/operator/query/#query-selectors) as filter criteria.
Mongoose exposes the [MongoDB query selectors](https://www.mongodb.com/docs/manual/reference/mql/query-predicates/logical/) as filter criteria.

## Relation filters

Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/080-turborepo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This guide will show you how to set up Prisma as a standalone package in a Turbo
- Integrating the Prisma package into other applications in the monorepo.

### Prerequisites
- [Node.js 18+](https://nodejs.org/)
- [Node.js 20+](https://nodejs.org/)

## 1. Set up your project

Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/090-nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This guide shows you how to use Prisma with Next.js 15, a fullstack React framew
You can find a [deployment-ready example on GitHub](https://github.com/prisma/prisma-examples/blob/latest/orm/nextjs).

## Prerequisites
- [Node.js 18+](https://nodejs.org)
- [Node.js 20+](https://nodejs.org)
- A Vercel account (if you want to deploy your application)

## 1. Set up your project
Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/150-multiple-databases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This guide shows you how to use multiple databases using Prisma ORM in a single

Before you begin, make sure that you have the following:

- Node.js 18+ installed.
- Node.js 20+ installed.
- A [Prisma Data Platform account](https://pris.ly/pdp?utm_campaign=multi-client&utm_source=docs).
- A Vercel account (if you plan to deploy your application).

Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/180-solid-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Prisma ORM streamlines database access with type-safe queries and a smooth devel
In this guide, you'll learn how to integrate Prisma ORM with a Prisma Postgres database in a SolidStart project from scratch. You can find a complete example of this guide on [GitHub](https://github.com/prisma/prisma-examples/tree/latest/orm/solid-start).

## Prerequisites
- [Node.js 18+](https://nodejs.org)
- [Node.js 20+](https://nodejs.org)

## 1. Set up your project

Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/190-sveltekit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ In this guide, you'll learn to integrate Prisma ORM with a Prisma Postgres datab


## Prerequisites
- [Node.js 18+](https://nodejs.org)
- [Node.js 20+](https://nodejs.org)
- [Svelte VSCode extension](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode) (Recommended by Svelte)


Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/200-clerk-nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ In this guide you'll wire Clerk into a brand-new [Next.js](https://nextjs.org/)

## Prerequisites

- [Node.js 18+](https://nodejs.org)
- [Node.js 20+](https://nodejs.org)
- [Clerk account](https://clerk.com)
- [ngrok account](https://ngrok.com)

Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/220-astro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Prisma ORM offers type-safe database access, and [Astro](https://astro.build/) i
In this guide, you'll learn to integrate Prisma ORM with a Prisma Postgres database in an Astro project from scratch. You can find a complete example of this guide on [GitHub](https://github.com/prisma/prisma-examples/tree/latest/orm/astro).

## Prerequisites
- [Node.js 18+](https://nodejs.org)
- [Node.js 20+](https://nodejs.org)
- [Astro VSCode extension (recommended)](https://marketplace.visualstudio.com/items?itemName=astro-build.astro-vscode)

## 1. Set up your project
Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/230-betterauth-nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ In this guide, you'll wire Better Auth into a brand-new [Next.js](https://nextjs

## Prerequisites

- [Node.js 18+](https://nodejs.org)
- [Node.js 20+](https://nodejs.org)
- Basic familiarity with Next.js App Router and Prisma

## 1. Set up your project
Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/330-github-actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ After the PR is closed, the database is automatically deleted. This allows you t

Make sure you have the following:

- Node.js 18 or later
- Node.js 20 or later
- A [Prisma Data Platform](https://console.prisma.io?utm_source=actions_guide&utm_medium=docs) account
- GitHub repository

Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/340-ai-sdk-nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Prisma ORM streamlines database access with type-safe queries, and when paired w
In this guide, you'll learn to build a chat application using AI SDK with Next.js and Prisma ORM to store chat sessions and messages in a Prisma Postgres database. You can find a complete example of this guide on [GitHub](https://github.com/prisma/prisma-examples/tree/latest/orm/ai-sdk-nextjs).

## Prerequisites
- [Node.js 18+](https://nodejs.org)
- [Node.js 20+](https://nodejs.org)
- An [OpenAI API key](https://platform.openai.com/api-keys) or other AI provider API key

## 1. Set up your project
Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/350-authjs-nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ In this guide, you'll wire Auth.js into a brand-new [Next.js](https://nextjs.org

## Prerequisites

- [Node.js 18+](https://nodejs.org)
- [Node.js 20+](https://nodejs.org)
- Basic familiarity with Next.js App Router and Prisma

## 1. Set up your project
Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/360-embed-studio-nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Currently, Embedded Prisma Studio supports [**Prisma Postgres**](/postgres), wit

## Prerequisites

- [Node.js 18+](https://nodejs.org)
- [Node.js 20+](https://nodejs.org)
- Basic knowledge of React and Next.js
- A Prisma Postgres database

Expand Down
2 changes: 1 addition & 1 deletion content/800-guides/400-betterauth-astro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ In this guide, you'll wire Better Auth into a brand-new [Astro](https://astro.bu

## Prerequisites

- [Node.js 18+](https://nodejs.org)
- [Node.js 20+](https://nodejs.org)
- Basic familiarity with Astro and Prisma

## 1. Set up your project
Expand Down
Loading
Loading