4
エラー:updateOneを実行する場合、更新操作ドキュメントにはアトミック演算子が含まれている必要があります
私のコレクションには、ドキュメントが1つしかありません。 > db.c20160712.find() { "_id" : ObjectId("57ab909791c3b3a393e9e277"), "Dimension_id" : 2, "Attribute" : "good", "Hour" : "20160712_06", "Frequency_count" : 100 updateOneドキュメントを別のドキュメントに置き換えるために実行したいと思います。しかし、なぜそこにあるのError: the update operation document must contain atomic operatorsでしょうか? > db.c20160712.updateOne( { "Attribute" : "good"}, {"Type" : "DVD", "Title" : "Matrix, The", "Released" : 1999, "Genre" : "Action"}, { upsert: true} …
87
mongodb