Supported platforms: Mini Program, Cloud Functions, Web
The update operator, used to indicate the removal of a specific field.
Return Value
Command
Example Code
Remove the style field:
const _ = db.command
db.collection('todos').doc('todo-id').update({
data: {
style: _.remove()
}
})