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

Please add support for ILIKE #570

Open
mvysny opened this issue Jul 30, 2024 · 2 comments
Open

Please add support for ILIKE #570

mvysny opened this issue Jul 30, 2024 · 2 comments

Comments

@mvysny
Copy link

mvysny commented Jul 30, 2024

Similar to the like operator, but case-insensitive. Could be implemented as-is by using the ILIKE SQL operator, or could be emulated by using the LOWER() SQL function: Persons.name.lower().like("foo%").

@KunMinX
Copy link

KunMinX commented Aug 3, 2024

see documents
https://www.ktorm.org/en/operators.html

@mvysny
Copy link
Author

mvysny commented Aug 3, 2024

Thank you so much, indeed the documentation mentions how to add support for the ILIKE operator. Switching to org.ktorm:ktorm-support-postgresql made the ILIKE operator available and it works well with H2. Thank you, this solves the problem for me.

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

2 participants