#984 suggestion
Phil Wang

unlimited SEL

Reported by Phil Wang | July 20th, 2009 @ 09:32 PM

would be really awesome... i'd ditch all other ORMs for this feature, not even joking.

got me pretty excited at 2 levels tho =P

Comments and changes to this ticket

  • Dan Kubb (dkubb)

    Dan Kubb (dkubb) July 20th, 2009 @ 09:40 PM

    • State changed from “new” to “suggestion”

    Just to expand on what Phil is asking for, currently SEL works if you loop over an association, and then access another association within the loop. It only works 2 levels deep tho, so if you have a loop inside a loop, inside a loop, the inner-most loop will cause a new query to be executed each time it is called.

    I am not 100% sure what the finished code will look like, but I believe that the inner-most child collection will need to ask up the chain for the top-most collection to load everything at once, and then pass the information down the chain. The end goal would be to allow SEL to work N levels deep.

  • Dan Kubb (dkubb)

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket