Click in order · NestJS course · Module 3: TypeORM and Databases
TypeORM entity definition
Arrange the elements of a TypeORM entity definition in the correct order:
Items to click
- export class Legionary {
- @Column() name: string;
- @PrimaryGeneratedColumn()
- @Entity()
You can check the correct answer by solving this task in the CodeWorlds game.