I'm currently playing around with NestJS and am using MongoDB with TypeORM, and I couldn't find something similar to the .populate() method in Mongoose, is there a way to do it with TypeORM or should I stick to Mongoose?
For example, here is a route I created with Express + Mongoose, and I want to recreate it with NestJS + TypeORM:
route.get('/:slug', async (req, res) => {
const collection = await Collection.findOne({slug: req.params.slug}).populate('products');
res.json(collection);
});