fix: example and trigger release

This commit is contained in:
ppetzold 2022-02-07 14:47:49 +01:00
parent 46e7ac84d5
commit bb142ef865

View File

@ -211,8 +211,7 @@ const paginateConfig: PaginateConfig<CatEntity> {
const queryBuilder = repo
.createQueryBuilder('cats')
.leftJoinAndSelect('cats.owner', 'owner')
.where('cats.color = :color', { color: 'white' })
.andWhere('cats.owner = :ownerId', { ownerId })
.where('cats.owner = :ownerId', { ownerId })
const result = await paginate<CatEntity>(query, queryBuilder, config)
```