fix(curriculum): add instructions to clarify use of model.createMany (#38026)

* Update create-many-records-with-model.create.english.md

The previous instructions were causing confusion:
https://www.freecodecamp.org/forum/t/mongodb-and-mongoose-create-many-records-with-model-create/208546
https://github.com/freeCodeCamp/freeCodeCamp/issues/36447

* Added clearer instructions

* Update curriculum/challenges/english/05-apis-and-microservices/mongodb-and-mongoose/create-many-records-with-model.create.english.md

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Update curriculum/challenges/english/05-apis-and-microservices/mongodb-and-mongoose/create-many-records-with-model.create.english.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update curriculum/challenges/english/05-apis-and-microservices/mongodb-and-mongoose/create-many-records-with-model.create.english.md

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
This commit is contained in:
Anonyma
2020-09-03 01:01:48 +02:00
committed by GitHub
parent 57c7003119
commit 8edca2efc5

View File

@ -13,7 +13,8 @@ Sometimes you need to create many instances of your models, e.g. when seeding a
## Instructions
<section id='instructions'>
Create many people with <code>Model.create()</code>, using the function argument <code>arrayOfPeople</code>.
Modify the <code>createManyPeople</code> function to create many people using <code>Model.create()</code> with the argument <code>arrayOfPeople</code>.
<strong>Note: </strong> You can reuse the model you instantiated in the previous exercise.
</section>
## Tests