Skip to content

Commit e2d1b7e

Browse files
authored
Merge pull request #590 from LekoArts/patch-1
fix: Correct logical operations in stats api
2 parents dbcecf6 + d3b147e commit e2d1b7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/stats-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ Filters can be combined using `and`, `or` and `not` operators.
248248

249249
| Operator | Example | Explanation |
250250
| -- | -- | -- |
251-
| `and` | `["and", [["is", "visit:country_name", ["Germany"]]], ["is", "visit:city_name", ["Berlin"]]]]` | Sessions originating from Berlin, Germany |
252-
| `or` | `["and", [["is", "visit:country_name", ["Germany"]]], ["is", "visit:city_name", ["Tallinn"]]]]` | Sessions originating from Germany or city of Tallinn |
251+
| `and` | `["and", [["is", "visit:country_name", ["Germany"]], ["is", "visit:city_name", ["Berlin"]]]]` | Sessions originating from Berlin, Germany |
252+
| `or` | `["or", [["is", "visit:country_name", ["Germany"]], ["is", "visit:city_name", ["Tallinn"]]]]` | Sessions originating from Germany or city of Tallinn |
253253
| `not` | `["not", ["is", "visit:country_name", ["Germany"]]]` | Sessions not originating from Germany |
254254

255255
Note that top level filters is wrapped in an implicit `and`.

0 commit comments

Comments
 (0)