Posts by Prisma
๐ We just shipped Query Insights for Prisma Postgres!
It finds slow queries and generates a prompt you can drop into your favorite AI agent to help optimize them.
Debugging queries just got a lot more fun!
Ever need to run a heavily optimized query that Prisma Client doesn't support?
You can drop down to raw SQL with four methods:
โ
$queryRaw - returns records (SELECT)
โ
$executeRaw - returns affected row count
โ
Plus "Unsafe" versions
In Prisma Next, streaming will feel just like writing plain TypeScript rather than a separate framework feature.
You'll simply build the query, execute the plan and for await the rows.
What if database migrations worked more like Git? ๐
Thatโs what weโre building with Prisma Next ๐
๐ Migrations form a graph of schema states
โจ Explicit before and after states for your schemas
๐ No more time-stamp based sequence or operations
Built for humans + AI ๐ค
๐ Did you know Prisma lets you query by a combination of fields as a single unique key?
Define a compound unique constraint with @@unique, and use it directly in findUnique():
One of those small but useful commands: `prisma format`
Formats your schema file and validates it at the same time. Catches typos, config issues, and unknown preview features before they cause problems.
How often do you run it? ๐
Quick Prisma Next update:
Weโre not rushing this.
โข April: stabilize extension APIs, invite contributors
โข May: Early Access
โข JuneโJuly: GA for Postgres
Goal is a smooth path to adoption, including running alongside Prisma 7.
pris.ly/lXGKkWj
So...seems like a lot of you REALLY want dark mode back in Prisma Studio.
Your wish has been granted โจ
Rolling out to Studio in an upcoming release โณ
x.com/lassvesterg...
Excited to see Prisma ORM on the main @github copilot demo!
From day one, our goal: build the best tools and UX for developers.
Live demo ๐
pris.ly/github-copilot
AI can write SQL.
So why do ORMs still matter?
Our Engineering Manager, Will Madden, joined the latest PodRocket episode to talk about Prisma Next and how ORMs are evolving for the age of agentic coding.
Watch the episode ๐
pris.ly/pn-podrocket
With streaming, the UI starts rendering immediately.
Without it, nothing appears until the full result set is returned.
This difference becomes obvious in metrics like first contentful paint vs last contentful paint.
See for yourself๐
github.com/prisma/mill...
What happens when your UI renders data as it arrives instead of waiting for the entire query to finish?
We tried a fun experiment: streaming 1,000,000 boxes from a database.
Left side: Streaming results (Prisma Next)
Right side: Fetch everything first
Prisma ORM 7.5.0 just shipped ๐
โจ Nested transaction rollbacks via save-points
๐งฐ Prisma Studio upgrades:
โข Multi-cell selection
โข Full table search
โข Cmd+K command palette
โข Run raw SQL in Studio
Release notes ๐
pris.ly/FJMhwUX
ICYMI: we rebuilt our docs!
- New design
- Better search & AI chat
- Cleaner navigation
- Versioned docs
Read about how we pulled it off without taking anything down ๐
pris.ly/b/docs-rebuild
come hang out with us on Discord for live Q&A, AI support, direct access to our team, and help from the community ๐
pris.ly/discord
thank you so much for being a part of our community!! ๐
Today, weโre sharing our vision for a new foundation for Prisma ORM.
It keeps the experience you love and sets the direction for a more composable, extensible, agent-ready future!
We'll let the code speak for itself โจ
๐ Built something cool with Prisma?
๐ Share it in the community-showcase channel on our Discord.
Itโs where developers post real projects, give feedback, and learn from each otherโs work.
Join the server and drop your project ๐
pris.ly/discord/var-3
Interactive transactions (prisma.$transaction) are powerful. You get a transaction-exclusive client for multiple operations, with a rollback guarantee.
It keeps your complex operations clean and safe.
๐ฌ
โWhy is our usage up this week?โ
โWhatโs our bill going to look like?โ
We built something to answer that in one placeโฆ
Check out the workspace metrics, available on all plans.
www.prisma.io/postgres