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 startsWith / endsWith / contains options in StringFieldComparisons #225

Open
snaftaly opened this issue Feb 14, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@snaftaly
Copy link

Is your feature request related to a problem? Please describe.
Missing explicit StringFieldComparisons option for string startsWith, endsWith, Contains.

Have you read the Contributing Guidelines?

yes

Describe the solution you'd like
We would like to add an option in the StringFieldComparisons to allow a filter object for a string to have a startsWith / endsWith / contains options.

Describe alternatives you've considered
We are currently using the iLike option with combination of % in the beginning / end of the string to get the desired outcome, but we encountered some edge cases where the actual string contains %, so it's hard to distinguish between the cases where the % serves as a wildcard or when it's the actual string to be searched.

Having the startsWith / endsWith / contains options in the StringFieldComparisons interface would allow us to explicitly distinguish between the cases.

@snaftaly snaftaly added the enhancement New feature or request label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant