update readme

This commit is contained in:
ppetzold 2023-03-21 12:21:20 +01:00
parent 514048dde1
commit 1520e8a74e

View File

@ -384,8 +384,11 @@ Filter operators must be whitelisted per column in `PaginateConfig`.
const config: PaginateConfig<CatEntity> = { const config: PaginateConfig<CatEntity> = {
// ... // ...
filterableColumns: { filterableColumns: {
id: [FilterOperator.EQ, FilterSuffix.NOT], // Enable individual operators // Enable individual operators
age: true, // Enable all operators on a single column id: [FilterOperator.EQ, FilterSuffix.NOT],
// Enable all operators on a single column
age: true,
}, },
} }
``` ```