Add support for regex
snadon opened this issue · 3 comments
snadon commented
Would be nice to be able to use regex:
https://www.postgresql.org/docs/current/static/functions-matching.html#FUNCTIONS-POSIX-REGEXP
snadon commented
At the moment it is possible to do something like:
.where("description ~* ?", "(#{keyword}\\*|#{keyword}\\+)")
hibachrach commented
What sort of support are you suggesting beyond what you've demonstrated in the example?
snadon commented
This is a really good question. I cannot recall why I asked in the first place. Let's close this issue since using .where
is good enough.