note 103513 deleted from mongocollection.getdbref by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 Apr 2011 17:12:19 +0000 |
| Subject: | note 103513 deleted from mongocollection.getdbref by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-178930@lists.php.net to get a copy of this message | ||
Note Submitter: manuel at dziubas dot de
----
The "$id" has to be a
new MongoId("...")
in PHP driver!
Ref:
array(
"$ref" => "other_collection",
"$id" => new MongoId("the_referenced_dataobject_id")
)