You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: This release currently does not support MongoDB.
🌟 Help us spread the word about Prisma by starring the repo ☝️ or tweeting about the release.
Major changes
Full text search
Enable it in your Go project by adding the fullTextSearch preview feature.
generator db {
provider = "go run github.com/prisma/prisma-client-go"
+ previewFeatures = ["fullTextSearch"]
}
// Fetch all drafts with a title that contains the words fox or dogposts, _:=client.Post.FindMany(
db.Post.Title.Search("fox | dog"),
db.Post.Status.Equals("Draft"),
).Exec(context.Background())
// Loop over the posts and print the titlefor_, post:=rangeposts {
fmt.Println(post.Title)
}
Interested in providing feedback for the Go client?
We would like to ask you a few questions and get your feedback about the Go client. We'll send merch along your away as a thank you.
If you're interested, email me at [email protected] or join our public Slack and DM me.
This discussion was created from the release v0.11.0.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
v0.11.0
THIS RELEASE CONTAINS BREAKING CHANGES!
Please read the release notes of Prisma 3.x https://github.com/prisma/prisma/releases/tag/3.0.1 which contains many different breaking changes, the primary one being referential actions which breaks previous behaviour. You might want to to checkout the upgrade path for referential actions.
This release currently uses the latest Prisma version https://github.com/prisma/prisma/releases/tag/3.1.1.
Note: This release currently does not support MongoDB.
🌟 Help us spread the word about Prisma by starring the repo ☝️ or tweeting about the release.
Major changes
Enable it in your Go project by adding the
fullTextSearch
preview feature.generator db { provider = "go run github.com/prisma/prisma-client-go" + previewFeatures = ["fullTextSearch"] }
Changes
Contributors
@Looskie, @hi019 and @steebchen
Interested in providing feedback for the Go client?
We would like to ask you a few questions and get your feedback about the Go client. We'll send merch along your away as a thank you.
If you're interested, email me at [email protected] or join our public Slack and DM me.
This discussion was created from the release v0.11.0.
Beta Was this translation helpful? Give feedback.
All reactions