Reference/Operators/Array Update/$[]$[]The `$[]` all positional operator updates all elements in an array for the documents that match the query condition.Syntax{ "array.$[]": <value> }ParametersarraystringrequiredThe array field name.<value>stringrequiredThe new value for all array elements.
Reference/Operators/Array Update/$[]$[]The `$[]` all positional operator updates all elements in an array for the documents that match the query condition.Syntax{ "array.$[]": <value> }ParametersarraystringrequiredThe array field name.<value>stringrequiredThe new value for all array elements.