I have a simple question about the (by the way really great!) Doctrine ODM.
Assume you have a document like:
/** * @Document */ class Test { /** @I
I think you're looking for hash data type. Aren't you?
hash
use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB; /** * @Document */ class Test { /** @Id */ public $id; /** * @MongoDB\Field(type="hash") */ public $field; }