{"action":"closed","issue":{"url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/1338","labels_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/1338/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/1338/comments","events_url":"https://api.github.com/repos/doctrine/mongodb-odm/issues/1338/events","html_url":"https://github.com/doctrine/mongodb-odm/issues/1338","id":126860928,"number":1338,"title":"referenceMany query not working","user":{"login":"faizalpribadi","id":1262414,"avatar_url":"https://avatars.githubusercontent.com/u/1262414?v=3","gravatar_id":"","url":"https://api.github.com/users/faizalpribadi","html_url":"https://github.com/faizalpribadi","followers_url":"https://api.github.com/users/faizalpribadi/followers","following_url":"https://api.github.com/users/faizalpribadi/following{/other_user}","gists_url":"https://api.github.com/users/faizalpribadi/gists{/gist_id}","starred_url":"https://api.github.com/users/faizalpribadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faizalpribadi/subscriptions","organizations_url":"https://api.github.com/users/faizalpribadi/orgs","repos_url":"https://api.github.com/users/faizalpribadi/repos","events_url":"https://api.github.com/users/faizalpribadi/events{/privacy}","received_events_url":"https://api.github.com/users/faizalpribadi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/doctrine/mongodb-odm/labels/question","name":"question","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-15T12:07:31Z","updated_at":"2016-01-15T12:13:14Z","closed_at":"2016-01-15T12:13:14Z","body":"Hello doctrine developers, i have small litle project depend on this libraries, but i have a problem with my query , and this is not working to populate child document ( reference ) from parent document, my issue, i want to update & delete from parent document to execution child document reference\r\n\r\n![mongo-odm](https://cloud.githubusercontent.com/assets/1262414/12352674/aaf6a466-bbba-11e5-83f5-c61e6e6ad082.png)\r\n\r\n```php\r\n$user = $dm->getRepository('task')\r\n    ->createQueryBuilder()\r\n    ->field('posts.$id')->equals('56960e2229770fd45a8b456f')\r\n    ->getQuery()\r\n    ->execute();\r\n\r\nprint_r($user); // is null\r\n```\r\n\r\ni hope someone help me for this, i'm new with this libraries, and then documentation of doctrine odm its not explain detailing information in query binder, so far, thanks for great working doctrine developer :+1: "}}