docs: update many-to-many-relations.md (#10699)

This commit is contained in:
standage-thanh 2025-01-06 03:13:03 +07:00 committed by GitHub
parent fa8befbea2
commit 9d15cbdaee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -293,7 +293,7 @@ Additionally you will have to add a relationship like the following to `Question
```typescript
// category.ts
...
@OneToMany(() => questionToCategory, questionToCategory => questionToCategory.category)
@OneToMany(() => QuestionToCategory, questionToCategory => questionToCategory.category)
public questionToCategories: QuestionToCategory[];
// question.ts