Welcome Guest, Not a member yet? Register   Sign In
how to load a model within a foreach
#2

[eluser]Rok Biderman[/eluser]
I don't know how to do it, but it seems to me it's not supposed to work that way. I really can't imagine a circumstance where i'd want to do that, because it is sure to put considerable unnecessary strain on the database. As far as I can see, you're not doing anything that could not be done with a simple join in the original model. Just my 2c, more experienced than me might suggest something else.


Messages In This Thread
how to load a model within a foreach - by El Forum - 02-10-2011, 03:59 AM
how to load a model within a foreach - by El Forum - 02-10-2011, 06:53 AM
how to load a model within a foreach - by El Forum - 02-10-2011, 07:44 AM
how to load a model within a foreach - by El Forum - 02-10-2011, 09:07 AM
how to load a model within a foreach - by El Forum - 02-10-2011, 09:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB