Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: clear token from limitations page #6242

Merged
merged 1 commit into from
Sep 10, 2024
Merged
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
4 changes: 2 additions & 2 deletions content/700-optimize/700-known-limitations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ When using the [Optimize client extension](https://www.npmjs.com/package/@prisma
const prisma = new PrismaClient()
.$extends(
withOptimize({
token: process.env.OPTIMIZE_API_KEY,
apiKey: process.env.OPTIMIZE_API_KEY,
}),
)
.$extends(withAccelerate());
Expand All @@ -50,4 +50,4 @@ Raw queries are visible in MongoDB, though the parameters passed to them are not

## Driver adapter compatibility

Prisma Optimize is not yet compatible with [driver adapters](/orm/overview/databases/database-drivers#driver-adapters). However, as a workaround, you can run your queries locally using the regular Prisma Client along with Prisma Optimize to inspect and improve query performance.
Prisma Optimize is not yet compatible with [driver adapters](/orm/overview/databases/database-drivers#driver-adapters). However, as a workaround, you can run your queries locally using the regular Prisma Client along with Prisma Optimize to inspect and improve query performance.
Loading