{"action":"opened","issue":{"url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/443","labels_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/443/comments","events_url":"https://api.github.com/repos/jenssegers/laravel-mongodb/issues/443/events","html_url":"https://github.com/jenssegers/laravel-mongodb/issues/443","id":60676135,"number":443,"title":"Releationship hasOne","user":{"login":"tusharvikky","id":1810991,"avatar_url":"https://avatars.githubusercontent.com/u/1810991?v=3","gravatar_id":"","url":"https://api.github.com/users/tusharvikky","html_url":"https://github.com/tusharvikky","followers_url":"https://api.github.com/users/tusharvikky/followers","following_url":"https://api.github.com/users/tusharvikky/following{/other_user}","gists_url":"https://api.github.com/users/tusharvikky/gists{/gist_id}","starred_url":"https://api.github.com/users/tusharvikky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tusharvikky/subscriptions","organizations_url":"https://api.github.com/users/tusharvikky/orgs","repos_url":"https://api.github.com/users/tusharvikky/repos","events_url":"https://api.github.com/users/tusharvikky/events{/privacy}","received_events_url":"https://api.github.com/users/tusharvikky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-11T15:26:53Z","updated_at":"2015-03-11T15:26:53Z","closed_at":null,"body":"Hello,\r\n\r\nI have been eagerloading with 'with', I just wanted to ask how can i query the relationship and only grab those records which has relationships not returning null. \r\n\r\nI am using hasOne and belongsToMany relationship.\r\n\r\nRegards"}}