Skip to content
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

Case insensitive in Filter query #27

Open
cesconix opened this issue Nov 25, 2022 · 2 comments
Open

Case insensitive in Filter query #27

cesconix opened this issue Nov 25, 2022 · 2 comments

Comments

@cesconix
Copy link

Hi everyone!

The default prisma behavior without mode param is mode: sensitive, but I think the filter query should be case insensitive, like #5, to make the searching experience easier.

Why it has been removed? I think the ideal would be to make it configurable.

@VladyslavP98
Copy link

@dziraf Hi, I found that you rollback this https://github.com/SoftwareBrothers/adminjs-prisma/commit/8d749a1493544cef59822eecca3fda00893f0034. Is there any possibilities that this functionality would be again available in future version?

@dziraf
Copy link
Collaborator

dziraf commented May 17, 2023

@VladyslavParashchenko this would probably require some runtime checks for database driver to make sure it supports mode: 'insensitive'. Ideally Prisma would just ignore this param if it's not supported instead of throwing error though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants