3.2.0 #9614
Closed
Jolg42
announced in
Announcements
3.2.0
#9614
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Today, we are excited to share the
3.2.0stable release 🎉🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
Major improvements & new features
MongoDB introspection support is now in Preview 🚀
In this version, we introduce support for introspecting MongoDB databases. If adding Prisma to an existing project, running
prisma db pullagainst a MongoDB database with existing data will sample the data and create a Prisma data model based on the stored documents.This comes with a few caveats:
mongoDbmust be enabled on thedatasourceblock in the Prisma schema.prisma db pullmultiple times will overwrite any added text in the data model for now.We're constantly iterating on this feature, so please provide feedback for introspecting MongoDB databases!
Get the count of a relation in MongoDB
This release, we're giving MongoDB developers the ability to query the count of a relation. In the example below, we're getting the number of posts each user wrote:
This feature was previously available for SQL databases and now it's also available in MongoDB. Learn more in our documentation.
Fixes and improvements
Prisma Migrate
prisma db -hstill mentionsseedas a preview featurePrisma Client
prisma initPrisma
selectRelationCount(since 2.20.0)Prisma Studio
prismapatch releases.Credits
Huge thanks to @otan, @cbuchacher for helping out in this release!
CTA
📺 Join us for another "What's new in Prisma" livestream
Learn about the latest release and other news from the Prisma community by joining us for another "What's new in Prisma" livestream.
The stream takes place on Youtube on Thursday, October 07 at 5pm Berlin | 8am San Francisco.
This discussion was created from the release 3.2.0.
All reactions