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

Adding support for case insensitive like constraint #297

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

abitoprakash
Copy link

Issue - balderdashy/sails#4628

Change log

  • Passing meta from query to compileStatement from following methods
    • avg
    • count
    • destroy
    • select
    • sum
    • update
  • Adding meta as parameter to compileStatement
  • Adding modify-where-clause which checks for makeLikeModifierCaseInsensitive in meta and replaces LIKE with ILIKE if present
  • Adding test cases for insensitive queries
  • Minor eslint fix in lib/private/redact-passwords.js (Missing semicolon)
Screenshot 2024-09-08 at 1 06 47 AM

@abitoprakash
Copy link
Author

@eashaw, @DominusKelvin Let me know what you guys think

@DominusKelvin
Copy link

Thanks for working on this @abitoprakash, I'll have a look shortly.

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

Successfully merging this pull request may close these issues.

2 participants