{"action":"created","issue":{"url":"https://api.github.com/repos/neo4jrb/neo4j/issues/678","labels_url":"https://api.github.com/repos/neo4jrb/neo4j/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/neo4jrb/neo4j/issues/678/comments","events_url":"https://api.github.com/repos/neo4jrb/neo4j/issues/678/events","html_url":"https://github.com/neo4jrb/neo4j/issues/678","id":55597121,"number":678,"title":"Again about DRY a query","user":{"login":"pdipietro","id":3890316,"avatar_url":"https://avatars.githubusercontent.com/u/3890316?v=3","gravatar_id":"","url":"https://api.github.com/users/pdipietro","html_url":"https://github.com/pdipietro","followers_url":"https://api.github.com/users/pdipietro/followers","following_url":"https://api.github.com/users/pdipietro/following{/other_user}","gists_url":"https://api.github.com/users/pdipietro/gists{/gist_id}","starred_url":"https://api.github.com/users/pdipietro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdipietro/subscriptions","organizations_url":"https://api.github.com/users/pdipietro/orgs","repos_url":"https://api.github.com/users/pdipietro/repos","events_url":"https://api.github.com/users/pdipietro/events{/privacy}","received_events_url":"https://api.github.com/users/pdipietro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-27T09:58:01Z","updated_at":"2015-02-07T19:39:07Z","closed_at":null,"body":"Adding complexity: in a previous suggestion #670  Chris wrote as following:\r\n\r\n    results = Object.as(:object).query.proxy_as_optional(Object, :object).owners(:owner).pluck(:object, 'collect(owner)')\r\n    @objects, @owners = results.map { |row| row[0], row[1] }\r\nBut, how can I find all the objects with a (A OR B) relationship with another?\r\nExample: only Groups when a User (Owns or Participates)?"},"comment":{"url":"https://api.github.com/repos/neo4jrb/neo4j/issues/comments/73379362","html_url":"https://github.com/neo4jrb/neo4j/issues/678#issuecomment-73379362","issue_url":"https://api.github.com/repos/neo4jrb/neo4j/issues/678","id":73379362,"user":{"login":"pdipietro","id":3890316,"avatar_url":"https://avatars.githubusercontent.com/u/3890316?v=3","gravatar_id":"","url":"https://api.github.com/users/pdipietro","html_url":"https://github.com/pdipietro","followers_url":"https://api.github.com/users/pdipietro/followers","following_url":"https://api.github.com/users/pdipietro/following{/other_user}","gists_url":"https://api.github.com/users/pdipietro/gists{/gist_id}","starred_url":"https://api.github.com/users/pdipietro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdipietro/subscriptions","organizations_url":"https://api.github.com/users/pdipietro/orgs","repos_url":"https://api.github.com/users/pdipietro/repos","events_url":"https://api.github.com/users/pdipietro/events{/privacy}","received_events_url":"https://api.github.com/users/pdipietro/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T19:39:07Z","updated_at":"2015-02-07T19:39:07Z","body":"I'm starting to understand, but when I use x = ClassName.as(....) am I working with Core::Query or not?\r\n"}}