You need a model to use query() because it's a model method.

On Sat, Sep 5, 2009 at 6:35 AM, cogitovn<[email protected]> wrote:
>
> I create a new component.
> I've known how to using a model from a component, by
> ClassRegistry::init().
> For complex query, I can not use model. Instead, I write sql script
> and execute it. But component doesn't support this method.
> Anyone could tell me?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to