Merge pull request #27 from moT01/fix/clearer-instructions-to-lesson-4
fix: make lesson 4 instructions clearer
This commit is contained in:
		
						commit
						7a63172218
					
				
					 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()`
 | // e.g. when seeding a database with initial data. `Model.create()`
 | ||||||
| // takes an array of objects like [{name: 'John', ...}, {...}, ...],
 | // takes an array of objects like [{name: 'John', ...}, {...}, ...],
 | ||||||
| // as the 1st argument, and saves them all in the db.
 | // as the 1st argument, and saves them all in the db.
 | ||||||
| // Create many people using `Model.create()`, using the function argument
 | // Modify the createManyPeople function to create many people using
 | ||||||
| // 'arrayOfPeople'.
 | // Model.create() with the argument arrayOfPeople.
 | ||||||
|  | // Note: You can reuse the model you instantiated in the previous exercise.
 | ||||||
| 
 | 
 | ||||||
| var createManyPeople = function(arrayOfPeople, done) { | var createManyPeople = function(arrayOfPeople, done) { | ||||||
|      |      | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue