NestJS - Database with TypeORM
What is incorrect about this NestJS TypeORM relation?
class Review {
@ManyToOne(() => Product)
products: Product[];
}class Review {
@ManyToOne(() => Product)
products: Product[];
}products is declared as an array, which is incorrect for ManyToOne.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions