fix: make lesson 4 instructions clearer
This commit is contained in:
parent
0767e0b739
commit
a1ca468ccb
1 changed files with 3 additions and 2 deletions
5
myApp.js
5
myApp.js
|
@ -90,8 +90,9 @@ var createAndSavePerson = function(done) {
|
|||
// e.g. when seeding a database with initial data. `Model.create()`
|
||||
// takes an array of objects like [{name: 'John', ...}, {...}, ...],
|
||||
// as the 1st argument, and saves them all in the db.
|
||||
// Create many people using `Model.create()`, using the function argument
|
||||
// 'arrayOfPeople'.
|
||||
// Modify the createManyPeople function to create many people through
|
||||
// Model.create() and the argument arrayOfPeople.
|
||||
// (You can reuse the model you instantiated in the previous exercise)
|
||||
|
||||
var createManyPeople = function(arrayOfPeople, done) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue