http://docs.mongodb.org/manual/reference/operator/update/setOnInsert/ says "only when using the upsert option to the update() operation performs an insert" with bold on "only". It also works with findAndModify update clauses in upsert mode.
- Votes:
-
0 Vote for this issue
- Watchers:
-
1 Start watching this issue
- Created:
- Updated:
- Resolved:
- 10 years, 11 weeks, 4 days ago