From 5dfcd023a413ba7c60fcc409623eeddb6b96efe8 Mon Sep 17 00:00:00 2001 From: Philipp Date: Thu, 9 Feb 2023 09:25:21 +0100 Subject: [PATCH] fix: multi filter examples in README --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 23272e9..103bc7b 100644 --- a/README.md +++ b/README.md @@ -331,15 +331,15 @@ Multi filters are filters that can be applied to a single column with a comparat `?filter.id=$gt:3&filter.id=$lt:5` where column `id` is greater than `3` **and** less than `5` -`?filter.id=$gt:3&filter.id=$or$lt:5` where column `id` is greater than `3` **or** less than `5` +`?filter.id=$gt:3&filter.id=$or:$lt:5` where column `id` is greater than `3` **or** less than `5` -`?filter.id=$gt:3&filter.id=$and$lt:5&filter.id=$or$eq:7` where column `id` is greater than `3` **and** less than `5` **or** equal to `7` +`?filter.id=$gt:3&filter.id=$and:$lt:5&filter.id=$or:$eq:7` where column `id` is greater than `3` **and** less than `5` **or** equal to `7` **Note:** the `and` operators are not required. The above example is equivalent to: -`?filter.id=$gt:3&filter.id=$lt:5&filter.id=$or$eq:7` +`?filter.id=$gt:3&filter.id=$lt:5&filter.id=$or:$eq:7` -**Note:** the first comparator on the the first filter is ingnored becouse the filters are grouped by the column name and chained with an `and` to other filters. +**Note:** The first comparator on the the first filter is ignored because the filters are grouped by the column name and chained with an `and` to other filters. `...&filter.id=5&filter.id=$or:7&filter.name=Milo&...`