Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@crossworth
Copy link
Contributor

Hello πŸ‘‹, EqualFold currently does not escape the argument, this can lead to problems, like returning multiple results when the first/last character of the argument is % and pq: LIKE pattern must not end with escape character when the first/last character of the argument is a escape character.

While at it, I revised the points raised on #1484 (from the Postgres point of view). There seems to be a lot of different information about the use of ILIKE vs LOWER and I could not reach a conclusion.

I think we just leave as is but we should keep in mind that may exists a faster way available, when we have a user that needs it, we could look at it again.

Copy link
Member

@a8m a8m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ’―

Thanks, Pedro!

@a8m a8m merged commit 2b54aad into ent:master Aug 16, 2022
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

Successfully merging this pull request may close these issues.

2 participants