Put in order · NestJS course · Module 3: TypeORM and Databases

QueryBuilder with JOIN

Arrange the elements of a QueryBuilder query with LEFT JOIN:

Items to put in order

  • .leftJoinAndSelect('legion.legionaries', 'legionary')
  • .getMany()
  • .createQueryBuilder('legion')

You can check the correct answer by solving this task in the CodeWorlds game.