Get a database
in an instant
Deploy a managed database in an instant. Auto-scales to meet your workload needs with zero effort.
Serverless, without the cold starts.
Databases
12
Showing
3 of 12
Add database +
await prisma.user.findMany({
cacheStrategy: { swr: 60 }
});
Redefining what your database can do
Add query-level cache strategies with one line of code, to serve data fast from our global edge network.
Stream database changes in realtime, to create event-driven and reactive experiences.
A collaborative console experience for your team
Get AI powered recommendations to optimize query performance, or explore and manipulate your data with our built-in visual editor. Built to serve your whole team working together.
Query
Latency (ms)
Error
Seen at
user.findMany({ select: { email: true, links: { select: { url: true, visits
3.30
-
1:03:03 PM, 7/10/2024
user.create({ data: { email: ? } })
0.55
-
1:03:03 PM, 7/10/2024
user.create({ data: { email: "1720609383850xyz" } })
1.51
-
1:03:03 PM, 7/10/2024
user.deleteMany()
9.16
-
1:03:03 PM, 7/10/2024
feature.tsx
schema.prisma
query.sql
import { PrismaClient } from 'prisma/client'
import { TypedSql } from 'prisma/client/runtime/library'
const prisma = new PrismaClient()
async function main() {
const users = await prisma.user.findMany({
where: {
email: {
endsWith: '@prisma.io',
},
},
})
Maximum
developer productivity
The ORM you know and love: fully type-safe queries, easy schema management, migrations and auto-completion. Integrated with the tools you're already using.