You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -231,9 +231,16 @@ query = '(type = "user" OR type = "admin") AND (age >= 18 AND age <= 65)'
231
231
232
232
# Multiple NOT conditions
233
233
query ='type = "user" AND status != "deleted" AND status != "banned"'
234
+
235
+
# Pattern matching with GLOB (using * as wildcard)
236
+
query ='name GLOB "John*"'# Names starting with "John"
237
+
238
+
# Pattern matching with suffix
239
+
query ='email GLOB "*@example.com"'# Emails ending with @example.com
234
240
```
235
241
236
-
**Note:** String values in queries must be enclosed in double quotes (`"`). Numeric values do not require quotes.
242
+
**Note:** String values in queries must be enclosed in double quotes (`"`). Numeric values do not require quotes. The `GLOB` operator supports pattern matching using `*` as a wildcard character.
243
+
Note that the GLOB operator might be replace by a SQL standard LIKE operator in the future.
0 commit comments