{"action":"created","issue":{"url":"https://api.github.com/repos/neo4jrb/neo4j-core/issues/196","labels_url":"https://api.github.com/repos/neo4jrb/neo4j-core/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/neo4jrb/neo4j-core/issues/196/comments","events_url":"https://api.github.com/repos/neo4jrb/neo4j-core/issues/196/events","html_url":"https://github.com/neo4jrb/neo4j-core/issues/196","id":73431711,"number":196,"title":"Query `clauses` and `@arg` should be exposed to the public API","user":{"login":"subvertallchris","id":4097271,"avatar_url":"https://avatars.githubusercontent.com/u/4097271?v=3","gravatar_id":"","url":"https://api.github.com/users/subvertallchris","html_url":"https://github.com/subvertallchris","followers_url":"https://api.github.com/users/subvertallchris/followers","following_url":"https://api.github.com/users/subvertallchris/following{/other_user}","gists_url":"https://api.github.com/users/subvertallchris/gists{/gist_id}","starred_url":"https://api.github.com/users/subvertallchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subvertallchris/subscriptions","organizations_url":"https://api.github.com/users/subvertallchris/orgs","repos_url":"https://api.github.com/users/subvertallchris/repos","events_url":"https://api.github.com/users/subvertallchris/events{/privacy}","received_events_url":"https://api.github.com/users/subvertallchris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-05T21:08:09Z","updated_at":"2015-05-06T03:12:20Z","closed_at":null,"body":"I'm finding myself in need of inspecting qualities of queries pretty often but the internals are part of private or protected APIs. To get around it, I'm using `send` and `instance_variable_get` but it's dangerous, so I'd like to move these to the public API. Any objections?"},"comment":{"url":"https://api.github.com/repos/neo4jrb/neo4j-core/issues/comments/99303940","html_url":"https://github.com/neo4jrb/neo4j-core/issues/196#issuecomment-99303940","issue_url":"https://api.github.com/repos/neo4jrb/neo4j-core/issues/196","id":99303940,"user":{"login":"subvertallchris","id":4097271,"avatar_url":"https://avatars.githubusercontent.com/u/4097271?v=3","gravatar_id":"","url":"https://api.github.com/users/subvertallchris","html_url":"https://github.com/subvertallchris","followers_url":"https://api.github.com/users/subvertallchris/followers","following_url":"https://api.github.com/users/subvertallchris/following{/other_user}","gists_url":"https://api.github.com/users/subvertallchris/gists{/gist_id}","starred_url":"https://api.github.com/users/subvertallchris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subvertallchris/subscriptions","organizations_url":"https://api.github.com/users/subvertallchris/orgs","repos_url":"https://api.github.com/users/subvertallchris/repos","events_url":"https://api.github.com/users/subvertallchris/events{/privacy}","received_events_url":"https://api.github.com/users/subvertallchris/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T03:12:20Z","updated_at":"2015-05-06T03:12:20Z","body":"I keep running into cases where I want to use the presence or lack of query\nclauses and values to modify a query in some way. \"If the query contains\nthis clause and its args are or contain this value/key/string/whatever,\ntake this action.\" The \"clause?\" method gets us part of the way there but\nactually looking at the clause object and seeing its arguments, not the\nString version you get when calling \"values,\" isn't possible without\nreaching for methods that are walled off.\n\nOn Tuesday, May 5, 2015, Brian Underwood <notifications@github.com> wrote:\n\n> Can you share a use case or two (mainly out of curiosity)?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/neo4jrb/neo4j-core/issues/196#issuecomment-99272943>.\n>\n"}}