nestjs-paginate 4.9.0 → 4.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -331,15 +331,15 @@ Multi filters are filters that can be applied to a single column with a comparat
|
|
|
331
331
|
|
|
332
332
|
`?filter.id=$gt:3&filter.id=$lt:5` where column `id` is greater than `3` **and** less than `5`
|
|
333
333
|
|
|
334
|
-
`?filter.id=$gt:3&filter.id=$or
|
|
334
|
+
`?filter.id=$gt:3&filter.id=$or:$lt:5` where column `id` is greater than `3` **or** less than `5`
|
|
335
335
|
|
|
336
|
-
`?filter.id=$gt:3&filter.id=$and
|
|
336
|
+
`?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`
|
|
337
337
|
|
|
338
338
|
**Note:** the `and` operators are not required. The above example is equivalent to:
|
|
339
339
|
|
|
340
|
-
`?filter.id=$gt:3&filter.id=$lt:5&filter.id=$or
|
|
340
|
+
`?filter.id=$gt:3&filter.id=$lt:5&filter.id=$or:$eq:7`
|
|
341
341
|
|
|
342
|
-
**Note:**
|
|
342
|
+
**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.
|
|
343
343
|
|
|
344
344
|
`...&filter.id=5&filter.id=$or:7&filter.name=Milo&...`
|
|
345
345
|
|