{"action":"closed","issue":{"url":"https://api.github.com/repos/mceachen/closure_tree/issues/158","labels_url":"https://api.github.com/repos/mceachen/closure_tree/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/mceachen/closure_tree/issues/158/comments","events_url":"https://api.github.com/repos/mceachen/closure_tree/issues/158/events","html_url":"https://github.com/mceachen/closure_tree/issues/158","id":84594614,"number":158,"title":"Question: indirect children","user":{"login":"fernandoluizao","id":52836,"avatar_url":"https://avatars.githubusercontent.com/u/52836?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandoluizao","html_url":"https://github.com/fernandoluizao","followers_url":"https://api.github.com/users/fernandoluizao/followers","following_url":"https://api.github.com/users/fernandoluizao/following{/other_user}","gists_url":"https://api.github.com/users/fernandoluizao/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandoluizao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandoluizao/subscriptions","organizations_url":"https://api.github.com/users/fernandoluizao/orgs","repos_url":"https://api.github.com/users/fernandoluizao/repos","events_url":"https://api.github.com/users/fernandoluizao/events{/privacy}","received_events_url":"https://api.github.com/users/fernandoluizao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-03T14:31:25Z","updated_at":"2015-06-03T15:16:03Z","closed_at":"2015-06-03T15:16:03Z","body":"I have the following structure:\r\n\r\n```\r\nitems\r\n   id\r\n   description\r\n\r\nitems_children\r\n   item_id\r\n   quantity\r\n```\r\n\r\nMy tables are not self referential, that is, to get the children I need an intermediate table to determine the quantity of each child.\r\n\r\nCan I use closure_tree in this scenario? I just need an efficient way to grab all the children of a particular item/collection of items. Any thoughts?"}}