Welcome Guest, Not a member yet? Register   Sign In
Avoid foreach() with Active Record?
#1

[eluser]stevefink[/eluser]
Hi all,

Is there any possibility for avoiding a foreach() construct when using Active Record type queries? For instance, I'm trying to receive just a single row/value from a table which can simply be assigned to a scaler, so using a foreach construct to get the results seems a bit overkill.

Thanks .... as usual. :-)

- sf


Messages In This Thread
Avoid foreach() with Active Record? - by El Forum - 08-24-2007, 03:56 PM
Avoid foreach() with Active Record? - by El Forum - 08-24-2007, 03:57 PM
Avoid foreach() with Active Record? - by El Forum - 08-24-2007, 03:59 PM
Avoid foreach() with Active Record? - by El Forum - 08-24-2007, 04:02 PM
Avoid foreach() with Active Record? - by El Forum - 08-24-2007, 04:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB