Merge pull request #4212 from haschu/fix/4196

fix(docs): Fixed many-to-many docs
This commit is contained in:
Umed Khudoiberdiev 2019-05-30 21:26:33 +05:00 committed by GitHub
commit 6fd579301e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,8 @@ category2.name = "zoo";
await connection.manager.save(category2);
const question = new Question();
question.title = "dogs";
question.text = "who let the dogs out?";
question.categories = [category1, category2];
await connection.manager.save(question);
```