On Mon, Sep 8, 2008 at 6:30 PM, Gonzalo Servat <[EMAIL PROTECTED]> wrote:
>
> I'm not sure I have the right answer for you but, until somebody else
> replies with a better answer, I believe if you use the mysqli driver (not
> mysql) and the query contains "call" in it, it should work.
>
Looking into it a little bit more, it looks like you can call your stored
procedure from a model:
class YourModel extends AppModel {
.....
.....
function procedureName() {
$this->execute( "call sqlprocname()" );
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---