Currently, you can specify whether or not a column is filterable:
export class User extends BaseModel {
@StringField({ filter: false, nullable: true })
noFilterField?: string;
}
But this will give you access to all of the filters for that data type (which is often too many). Allow filter to specify the operators we want to support:
export class User extends BaseModel {
@StringField({ filter: ['eq', 'contains'], nullable: true })
specificFiltersField?: string;
}
Currently, you can specify whether or not a column is filterable:
But this will give you access to all of the filters for that data type (which is often too many). Allow filter to specify the operators we want to support: