NestJS - Database with TypeORM
Which of the following is the correct syntax to define an entity named
User in NestJS?User in NestJS?@Entity() must be placed immediately before the class declaration.@Entity() export class User {} correctly places the decorator before the class and uses parentheses.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions