How to use ILIKE?
#229
-
|
Hey, what could be a function to use |
Beta Was this translation helpful? Give feedback.
Answered by
go-jet
Apr 17, 2023
Replies: 1 comment 2 replies
-
|
Currently, BoolExp(Raw("table.column ILIKE :value", , RawArgs{":float": "_val%" })), or you can simulate LOWER(table.column).LIKE(String("_val%"))Not sure about extending |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
isgj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently,
ILIKEis not supported. You'll have to useRawmethod. For instance:, or you can simulate
ILIKEusingLOWER:Not sure about extending
StringExpressionbecauseILIKEis postgres specific, andStringExpressionis interface for all dialects. Probably newILIKEmethod would be the best:ILIKE(table.column, String("_val%")).