Update Specific Elements of an Array of Documents

17 views
Skip to first unread message

George

unread,
Jul 29, 2018, 6:05:27 PM7/29/18
to mongodb-user
Can not update data.

Query:




Collection:



Please help to solve the problem.

Wan Bachtiar

unread,
Jul 31, 2018, 3:25:05 AM7/31/18
to mongodb-user

Please help to solve the problem.

Hi George,

Try removing the underscores _ in the arrayFilters’ identifiers, as identifiers must only begin with a lowercase letter and only contain alphanumeric characters.

If you have further questions please provide:

  • MongoDB server version
  • Try the same operation from mongo shell. Post the output. 
  • What is the UI that you’re using ? arrayFilters is available in MongoDB 3.6+.

Regards,
Wan.

Reply all
Reply to author
Forward
0 new messages