NestJS - Database with TypeORM
Which option correctly imports TypeORM entities in a NestJS module?
TypeOrmModule.forFeature() is the correct method to register entities within a specific module.
forRoot() is for global DB connection, not for importing entities in modules.
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions