Update field based on another field in the document

后端 未结 0 1775
心在旅途
心在旅途 2021-01-03 03:04

Is it possible to update a document field based on another field using the update operator?

See playground here

I have players collection with health and maxHe

相关标签:
回答
  • 消灭零回复
提交回复
热议问题