#nested where clause in TypeORM

3 messages · Page 1 of 1 (latest)

loud sedge
#

I believe you'll have to use the query builder for 1:N relationships, something along the lines of:

this.productDetailsRepository.createQueryBuilder('products')
.innerJoinAndSelect('products.productImagesFk', 'productImagesFk', 'productImagesFk.isDeleted = false')
.withDeleted()
.getManyAndCount()
shrewd burrow
shrewd burrow