When i query "db.collection.insertOne({name:"xyz"},{w:2})" gives error on standalone server which is correct but "db.collection.insert({name:"xyz"},{w:2})" does not.
I got it on mongo enterprise 4.2.
When i query "db.collection.insertOne({name:"xyz"},{w:2})" gives error on standalone server which is correct but "db.collection.insert({name:"xyz"},{w:2})" does not.
I got it on mongo enterprise 4.2.