mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: update many-to-many-relations.md (#10699)
This commit is contained in:
parent
fa8befbea2
commit
9d15cbdaee
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user