हमें queryBuilder . का उपयोग करने की आवश्यकता है इस तरह के मामलों के लिए find . के बाद से संबंधों को छानने की अनुमति नहीं देता:
const items = await reviewRepository.createQueryBuilder("review")
.leftJoinAndSelect("review.categories", "category")
.where("category.id = :id", { id })
.getManyAndCount()