Mongo库使用?
#1746
Replies: 1 comment 1 reply
-
试试这样 {['base.sex']=2} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Mongo库的使用问题,如何只更新文档中的某个字段的子字段数据?
原始数据:
{name="123",base={sex=1,level=1}}
目标数据
{name="123",base={sex=2,level=1}}
Beta Was this translation helpful? Give feedback.
All reactions