the-magical-marvels-of-mongodb-slides
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Validations Supported by MongoDB<br />
MongoDB will only enforce a few rules, which means we’ll need to make sure data is valid<br />
client-side before saving it.<br />
{.<br />
"_id":<br />
"name": "Invisibility",<br />
"vendor": "Kettlecooked",<br />
"price": 10.99<br />
}<br />
{/<br />
"_id":<br />
ObjectId("55c3b9561..."),<br />
ObjectId("55d232a51..."),<br />
"name": "Shrinking",<br />
"vendor": "Kettlecooked",<br />
"price": 9.99<br />
}-<br />
No o<strong>the</strong>r document shares same _id<br />
No syntax errors<br />
Document is less than 16mb