diff --git a/README.md b/README.md index c3af057..91a382f 100644 --- a/README.md +++ b/README.md @@ -211,8 +211,7 @@ const paginateConfig: PaginateConfig { 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(query, queryBuilder, config) ```