{"action":"created","issue":{"url":"https://api.github.com/repos/ruckus/quickbooks-ruby/issues/405","repository_url":"https://api.github.com/repos/ruckus/quickbooks-ruby","labels_url":"https://api.github.com/repos/ruckus/quickbooks-ruby/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/ruckus/quickbooks-ruby/issues/405/comments","events_url":"https://api.github.com/repos/ruckus/quickbooks-ruby/issues/405/events","html_url":"https://github.com/ruckus/quickbooks-ruby/issues/405","id":272467739,"number":405,"title":"Is it possible to make a query for fields that are objects?","user":{"login":"marinakap","id":22127438,"avatar_url":"https://avatars3.githubusercontent.com/u/22127438?v=4","gravatar_id":"","url":"https://api.github.com/users/marinakap","html_url":"https://github.com/marinakap","followers_url":"https://api.github.com/users/marinakap/followers","following_url":"https://api.github.com/users/marinakap/following{/other_user}","gists_url":"https://api.github.com/users/marinakap/gists{/gist_id}","starred_url":"https://api.github.com/users/marinakap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marinakap/subscriptions","organizations_url":"https://api.github.com/users/marinakap/orgs","repos_url":"https://api.github.com/users/marinakap/repos","events_url":"https://api.github.com/users/marinakap/events{/privacy}","received_events_url":"https://api.github.com/users/marinakap/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-09T07:44:12Z","updated_at":"2017-11-09T13:44:23Z","closed_at":"2017-11-09T13:44:23Z","author_association":"NONE","body":"I need something like this: \r\n`@deposit_service.query(\"SELECT * FROM Deposit WHERE DepositToAccountRef.id='116'\")\r\n`\r\nI've seen that kind of query work for the MetaData field, but not anything else. Is there a way?"},"comment":{"url":"https://api.github.com/repos/ruckus/quickbooks-ruby/issues/comments/343158187","html_url":"https://github.com/ruckus/quickbooks-ruby/issues/405#issuecomment-343158187","issue_url":"https://api.github.com/repos/ruckus/quickbooks-ruby/issues/405","id":343158187,"user":{"login":"minimul","id":199862,"avatar_url":"https://avatars3.githubusercontent.com/u/199862?v=4","gravatar_id":"","url":"https://api.github.com/users/minimul","html_url":"https://github.com/minimul","followers_url":"https://api.github.com/users/minimul/followers","following_url":"https://api.github.com/users/minimul/following{/other_user}","gists_url":"https://api.github.com/users/minimul/gists{/gist_id}","starred_url":"https://api.github.com/users/minimul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minimul/subscriptions","organizations_url":"https://api.github.com/users/minimul/orgs","repos_url":"https://api.github.com/users/minimul/repos","events_url":"https://api.github.com/users/minimul/events{/privacy}","received_events_url":"https://api.github.com/users/minimul/received_events","type":"User","site_admin":false},"created_at":"2017-11-09T13:44:23Z","updated_at":"2017-11-09T13:44:23Z","author_association":"COLLABORATOR","body":"Nope, only `Id` and `TxnDate` can be used in a where clause (called *filterable* in the API docs) for the **Deposit** resource.\r\n\r\nYou are going to have to bring'em all down and use Ruby to find the `DepositToAccountRef.id` you're looking for. You can use the `TxnDate` to at least make that query result smaller."}}
{"actor":{"display_login":"minimul"}}