Created
October 29, 2015 20:09
-
-
Save danared/16ebcb58db941957de2c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.orders.insert({ | |
"_id": 6666, | |
"item": "jkl", | |
"price": "rogue", | |
"quantity": 1 }); | |
Document failed validation | |
WriteResult({ | |
"nInserted": 0, | |
"writeError": { | |
"code": 121, | |
"errmsg": "Document failed validation" | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment