Skip to content

Columns mapping: equals condition for string filter. #291

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

Closed
fate83 opened this issue May 23, 2018 · 1 comment
Closed

Columns mapping: equals condition for string filter. #291

fate83 opened this issue May 23, 2018 · 1 comment
Assignees

Comments

@fate83
Copy link

fate83 commented May 23, 2018

Hi!

I would like to apply a filter condition that filters a string for equality. Since you state in your README that there is no string equivalent for :eq condition value, we (ab)use numeric :eq for that and it worked fine since SQL can handle string comparison quite well.

With the 0.4.2 release you included Fix integer out of range #284 PR. This prevents abusing numeric :eq for :string_eq filter.

My Question(s):
Will there be a string equals filter in the future or are we required to create a custom filters (Proc) for that functionality?

Or am I doing something completely wrong here?

@n-rodriguez
Copy link
Member

Or am I doing something completely wrong here?

No, you're completely right :) Got the same issue here on some fields... I think I should have more tests ^^

@n-rodriguez n-rodriguez self-assigned this Jun 4, 2018
n-rodriguez added a commit that referenced this issue Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants