fix: example and trigger release
This commit is contained in:
parent
46e7ac84d5
commit
bb142ef865
@ -211,8 +211,7 @@ const paginateConfig: PaginateConfig<CatEntity> {
|
|||||||
const queryBuilder = repo
|
const queryBuilder = repo
|
||||||
.createQueryBuilder('cats')
|
.createQueryBuilder('cats')
|
||||||
.leftJoinAndSelect('cats.owner', 'owner')
|
.leftJoinAndSelect('cats.owner', 'owner')
|
||||||
.where('cats.color = :color', { color: 'white' })
|
.where('cats.owner = :ownerId', { ownerId })
|
||||||
.andWhere('cats.owner = :ownerId', { ownerId })
|
|
||||||
|
|
||||||
const result = await paginate<CatEntity>(query, queryBuilder, config)
|
const result = await paginate<CatEntity>(query, queryBuilder, config)
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user