You can simply accomplish that by using the `query` method located in your model, something like $this->Model->query('CALL sp_name()');
also CakePHP doesn't generate automated `Stored Procedures` but rather is generated `SQL Queries` to perform DB interaction between system layers and data storage engines 'of course IF you are using an SQL based storage engine'.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.also CakePHP doesn't generate automated `Stored Procedures` but rather is generated `SQL Queries` to perform DB interaction between system layers and data storage engines 'of course IF you are using an SQL based storage engine'.
On Tue, Aug 24, 2010 at 3:45 PM, Cruisine <cruisine87@yahoo.co.id> wrote:
is there anybody know how to call stored procedure in cake??
i'm using cake 1.3 and have got so many efforts to call it in cake but
seems not works otherwise got some error..
i wish there were somebody known how to call stored procedure and
implement it from model, controller and shows it data into the view..
:-)
need ur help soon..tq
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment