Mongodb基礎操做語句

一、update數組 格式:less db.collection.update(criteria,objNew,upsert,multi)this 參數說明:3d criteria:查詢條件對象 objNew:update對象和一些更新操做符排序 upsert:若是不存在update的記錄,是否插入objNew這個新的文檔,true爲插入,默認爲false,不插入。索引 multi:默認是fals
相關文章
相關標籤/搜索