Add support for ESCAPE clause in LIKE operator #2546
Replies: 2 comments 3 replies
-
|
You've likely tried something like this: Column::Description.like("50\\% discount")For some reason, this You can still build this expression by using the functionality from Expr::col(Column::Description).like(LikeExpr::new("50\\% discount").escape('\\'));Here, the These query-building methods are a duplicated inconsistent mess. I've been complaining about this for a while and slowly improving the situation. Eventually, we should deduplicate and clean up all of this. |
Beta Was this translation helpful? Give feedback.
-
|
Resolved in #2549 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I couldn't find any way to escape a character using the column filter, for example to generate the following query:
Beta Was this translation helpful? Give feedback.
All reactions