doctrine/mongodb-odm — pull request #191 by jwage (2011-11-14 00:59:26+00:00)
Title: [WIP] Flat references

This adds support for simple references in the ODM. So when you do this:

/** @ODM\ReferenceOne(targetDocument="Documents\User", simple=true, name="userId") */
protected $user;

What gets stored in MongoDB is just a simple MongoId instead of an array with $id, $ref, $db.

Comments?