Update README.md
This commit is contained in:
parent
3fa48d4f63
commit
380e8e6a9c
@ -334,7 +334,9 @@ const config: PaginateConfig<CatEntity> = {
|
||||
relations: { home: { pillows: true } },
|
||||
sortableColumns: ['id', 'name', 'home.pillows.color'],
|
||||
searchableColumns: ['name', 'home.pillows.color'],
|
||||
filterableColumns: { 'home.pillows.color': [FilterOperator.EQ] },
|
||||
filterableColumns: {
|
||||
'home.pillows.color': [FilterOperator.EQ]
|
||||
},
|
||||
}
|
||||
|
||||
const result = await paginate<CatEntity>(query, catRepo, config)
|
||||
|
Loading…
Reference in New Issue
Block a user