您的位置:首页 > 数据库 > Mongodb

Creating, Updating, and Deleting Documents(Chapter 3 of MongoDB The Definitive Guild)

2010-10-01 09:16 597 查看
  "$set" sets the value of a key. If the key does not yet exist, it will be created. This can be handy for updating schema or adding user-defined keys.  The "$inc" modifier can be used to change the value for an existing key or to create a new key if it does not already exist.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: