We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9431b99 + fe2a464 commit 8939b2eCopy full SHA for 8939b2e
where-string.md
@@ -36,4 +36,14 @@ new Query("Posts").WhereLike("Title", "Book")
36
SELECT * FROM "Posts" WHERE LOWER("Title") LIKE 'book'
37
```
38
39
-> **Note:** in `WhereLike` method, you have to put the wildcard `%` by yourself
+> **Note:** in `WhereLike` method, you have to put the wildcard `%` by yourself
40
+
41
+You can also add an optional escape clause to all of the LIKE queries using the escapeCharacter argument:
42
43
+```cs
44
+new Query("Posts").WhereLike("Title", @"%The \% Sign%", escapeCharacter=@"\")
45
+```
46
47
+```sql
48
+SELECT * FROM "Posts" WHERE LOWER("Title") LIKE '%The \% Sign%' ESCAPE '\'
49
0 commit comments