{"issue":{"user":{"login":"appsperhaps","id":645721,"url":"https://api.github.com/users/appsperhaps","avatar_url":"https://secure.gravatar.com/avatar/5429c7420d4bc636b9d2cb9c80ecc6ad?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"5429c7420d4bc636b9d2cb9c80ecc6ad"},"title":"All finders are setIncludesSubentities:YES","milestone":null,"created_at":"2011-12-15T23:17:54Z","updated_at":"2011-12-16T00:04:54Z","labels":[],"state":"open","id":2574058,"html_url":"https://github.com/magicalpanda/MagicalRecord/issues/112","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"Hi again,\r\n\r\nI don't see any references to setIncludesSubentities in the MR codebase, so by default all entities are retrieved with their subentities attached. As I understand it, this could be a performance drawback if there are many child entities?\r\n\r\nIs this something that's being worked on? I could help when I get the time.\r\n\r\nThanks!\r\nJeff\r\n\r\n","number":112,"url":"https://api.github.com/repos/magicalpanda/MagicalRecord/issues/112","comments":1,"assignee":null},"comment":{"user":{"login":"magicalpanda","id":130841,"url":"https://api.github.com/users/magicalpanda","avatar_url":"https://secure.gravatar.com/avatar/e510cac938662af7c0919aeca341b139?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e510cac938662af7c0919aeca341b139"},"created_at":"2011-12-16T00:04:54Z","updated_at":"2011-12-16T00:04:54Z","id":3171305,"body":"Yeah, so this was removed recently. I think from a functional standpoint, including all subentities is more what I would expect to happen by default, even if it's not the most efficient means. A way to do it now is to all the request variant of your find method, and set that property to NO, and reinsert the request into the process using [Entity executeRequest:...].\r\n\r\n--\r\nSaul Mora\r\nFounding Panda\r\nsaul@magicalpanda.com\r\n\r\n\r\n\r\nOn Dec 15, 2011, at 4:17 PM, Jeff Tan-Ang wrote:\r\n\r\n> Hi again,\r\n> \r\n> I don't see any references to setIncludesSubentities in the MR codebase, so by default all entities are retrieved with their subentities attached. As I understand it, this could be a performance drawback if there are many child entities?\r\n> \r\n> Is this something that's being worked on? I could help when I get the time.\r\n> \r\n> Thanks!\r\n> Jeff\r\n> \r\n> --- \r\n> Reply to this email directly or view it on GitHub:\r\n> https://github.com/magicalpanda/MagicalRecord/issues/112","url":"https://api.github.com/repos/magicalpanda/MagicalRecord/issues/comments/3171305"},"action":"created"}