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

Index decorator on an entity

Arrange the elements of the @Index decorator for an entity with multiple columns:

Items to put in order

  • ['province', 'year']
  • )
  • @Index(

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