As far as I can tell, if you use query() then you lose the ability to
reference the actual relationships you've created, so you get indexes
of [0] instead of ['Foo'].  It just means you have to actually know
the results array is going to look like, that's all.

I think as a rule you should strive to use findAll and the other
findHelpers as much as possible, otherwise you lose the ability to
reference results by the model name.

On 8/25/06, c_doug <[EMAIL PROTECTED]> wrote:
>
> I wonder what the solution to make up for the table reference is.
>
> I could try findAll again (although it doesn't seem to like my mySQL
> date function). It would be nice to learn how to make the output work
> with a query as well.
>
> Chris, do you think it is specific to use in a component or from
> anywhere?
>
>
> >
>


-- 
Chris Hartjes

"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to