Skip to content

Commit 192cd95

Browse files
authored
Merge branch 'master' into fix/sortby-vcol-pgsql
2 parents a1d5356 + ca36807 commit 192cd95

File tree

9 files changed

+903
-371
lines changed

9 files changed

+903
-371
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,15 @@ const paginateConfig: PaginateConfig<CatEntity> {
303303
* Description: Prevent `select` query param from limiting selection further. Partial selection will depend upon `select` config option only
304304
*/
305305
ignoreSelectInQueryParam: true,
306+
307+
/**
308+
* Required: false
309+
* Type: boolean
310+
* Default: false
311+
* Description: Enable multi-word search behavior. When true, each word in the search query
312+
* will be treated as a separate search term, allowing for more flexible matching.
313+
*/
314+
multiWordSearch: false,
306315
}
307316
```
308317

@@ -457,6 +466,12 @@ const config: PaginateConfig<CatEntity> = {
457466

458467
`?filter.roles=$contains:moderator,admin` where column `roles` is an array and contains the values `moderator` and `admin`
459468

469+
## Jsonb Filters
470+
471+
You can filter on jsonb columns by using the dot notation. Json columns is limited to `$eq` operators only.
472+
473+
`?filter.metadata.enabled=$eq:true` where column `metadata` is jsonb and contains an object with the key `enabled`.
474+
460475
## Multi Filters
461476

462477
Multi filters are filters that can be applied to a single column with a comparator.

0 commit comments

Comments
 (0)