Updating the path ‘x’ would create a conflict at ‘x’

Field should appear either in $set, or in $setOnInsert. Not in both.

Leave a Comment