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

OneToMany relation declaration

Arrange the elements of the @OneToMany declaration in the correct order:

Items to put in order

  • () => Legionary,
  • @OneToMany(
  • legionary => legionary.legion)

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