-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
feat(client): Add support for full text search #1003
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much!
@@ -319,6 +320,7 @@ post = await db.post.find_first( | |||
'endswith': 'must end with string', | |||
'in': ['find_string_1', 'find_string_2'], | |||
'mode': 'insensitive', | |||
'search': 'full-text query', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: might be nice to include an example of the special full-text syntax & link to either Prisma or psql / mysql docs for the syntax.
Thanks so much for all your contributions Adeel! |
Change Summary
active_provider
inModel
contextChecklist
Agreement
By submitting this pull request, I confirm that you can use, modify, copy and redistribute this contribution, under the terms of your choice.