doctrine/mongodb — Issue #36: _id not set on upsert
Author: kriswallsmith
Created: 2011-12-19 13:37:58+00:00
State: open

The PHP manual explains that passing the `array('upsert' => true)` option to a call to `MongoCollection::update()` will add an `_id` value to the array if the object was inserted. This is not support in this library since the `$newObj` argument on `update()` is not a reference.