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

QueryBuilder method chain

Arrange the QueryBuilder methods in the correct order for building a query:

Items to click

  • .limit(10)
  • .createQueryBuilder('l')
  • .orderBy('l.name', 'ASC')
  • .where('l.rank = :rank', {rank})

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