Is "$this" a Model instance?
On Feb 22, 5:12 pm, aman batra <[email protected]> wrote: > i am unable to use the sql query in shell directly as > $this->query("some query"); > it gives me an error saying : undefined method Shell::query() > > Is there any way how i can use it? any answers would be appreciated --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
