问题描述:

The following query works fine

db.employee.update(

{_id: ObjectId("57da8822059a7f847ccc4f68"), fileAccessKey: "Test/Emp (1-100)/.*"},

{ $set: { isWorking: true}},

true,

true

);

Matches found but isWorking is not updated

WriteResult({ "nMatched" : 1, "nUpserted" : 0, "nModified" : 0 })

Any suggestion.

Thanks.

相关阅读:
Top