I\'m using odm mongo doctrine and I have to document-classes
class Thing { /** * @MongoDB\\Id */ protected $id; /** * @MongoDB\\ReferenceOne(targetDocu
Try
->field('other')->equals(new \MongoId("516c0061975a299edc44b419"))
ObjectId is the internal type for Mongo, represented by \MongoId() in PHP
( But i have also answered in the first topic )