Files
Oras Al-KubaisiandDale Hui 368372834c More examples in Mongo (#268)
* adding/removing a new field in the schema

* example of updating field value from other fields

* added new line at end of files

Co-authored-by: Dale Hui <[email protected]>
2020-01-03 00:12:08 -08:00

17 lines
290 B
JSON

[
{
"update": "users",
"updates": [
{
"q": {},
"u": {
"$unset": {
"status": ""
}
},
"multi": true
}
]
}
]