-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Write Ops
-
None
-
Query
> db.foo.update( { x : "a" }, { $addToSet : { x : "b" } } , true )
Cannot apply $addToSet modifier to non-array
- is duplicated by
-
SERVER-14391 Upsert with $all query and $addToSet operation errors
- Closed
-
SERVER-15245 findAndModify fail to addToSet a field, while querying by the same field.
- Closed
- is related to
-
SERVER-13843 Upsert fails with error when query document includes multiple equality predicates on same field
- Backlog
-
SERVER-27707 findAndModify breaks when I use the query operator "$in" and the update operator "$addToSet" on the same field.
- Closed