Put in order · NestJS course · Module 3: TypeORM and Databases
Column types from simplest to most complex
Arrange TypeORM column types from simplest to most complex:
Items to put in order
- @Column({ type: 'enum', enum: Status }) - enumeration type
- @Column() - default varchar
- @Column('jsonb') - JSON data
- @Column({ type: 'decimal', precision: 10, scale: 2 }) - precise numbers
You can check the correct answer by solving this task in the CodeWorlds game.