Fix spelling error (#35925)
* Fix spelling error * fix: changed be conformed to conform
This commit is contained in:
@ -11,7 +11,7 @@ In this challenge you will have to create and save a record of a model.
|
||||
|
||||
## Instructions
|
||||
<section id='instructions'>
|
||||
Create a document instance using the <code>Person</code> constructor you built before. Pass to the constructor an object having the fields <code>name</code>, <code>age</code>, and <code>favoriteFoods</code>. Their types must be conformant to the ones in the Person Schema. Then call the method <code>document.save()</code> on the returned document instance. Pass to it a callback using the Node convention. This is a common pattern, all the following CRUD methods take a callback function like this as the last argument.
|
||||
Create a document instance using the <code>Person</code> constructor you built before. Pass to the constructor an object having the fields <code>name</code>, <code>age</code>, and <code>favoriteFoods</code>. Their types must conform to the ones in the Person Schema. Then call the method <code>document.save()</code> on the returned document instance. Pass to it a callback using the Node convention. This is a common pattern, all the following CRUD methods take a callback function like this as the last argument.
|
||||
<blockquote>
|
||||
/* Example */<br><br>
|
||||
// ...<br>
|
||||
|
Reference in New Issue
Block a user