Skip to content

Commit 9be14f8

Browse files
first draft ready
1 parent 3ff3511 commit 9be14f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

learn/filtering_and_sorting/filter_expression_reference.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,18 @@ genres != action
6969

7070
### Comparison (`>`, `<`, `>=`, `<=`)
7171

72-
The comparison operators (`>`, `<`, `>=`, `<=`) select documents satisfying a comparison. Comparison operators apply to both numerical and string values.
72+
The comparison operators (`>`, `<`, `>=`, `<=`) select documents satisfying a comparison. Comparison operators apply to both numerical and string values.
7373

7474
The expression below returns all documents with a user rating above 85:
7575

7676
```
7777
rating.users > 85
7878
```
7979

80-
String comparisons resolve in lexicographic order: symbols followed by numbers followed by letters in alphabetic order. String comparisons can be useful when filtering human-readable dates:
80+
String comparisons resolve in lexicographic order: symbols followed by numbers followed by letters in alphabetic order. The expression below returns all documents released after the first day of 2004:
8181

8282
```
83-
release_date > 2004-01-09
83+
release_date > 2004-01-01
8484
```
8585

8686
### `TO`

0 commit comments

Comments
 (0)