How to use Storedprocedure in Redbean ?

359 views
Skip to first unread message

ANIL THOMAS

unread,
Mar 7, 2014, 10:36:04 AM3/7/14
to redbe...@googlegroups.com
Any one have idea how to call my stored procedure name in readbean .I need to use multiple queries in sP.

gabor

unread,
Mar 14, 2014, 3:32:14 PM3/14/14
to redbe...@googlegroups.com

Hi,

Sorry for my rather late reply, I was not sure about this issue but here is the answer:
You can use multiple queries with RedBeanPHP if you have PDO MySQLND installed as the PDO driver.

http://stackoverflow.com/questions/6346674/pdo-support-for-multiple-queries-pdo-mysql-pdo-mysqlnd

However stored procedures are not possible with RedBeanPHP.

Hope this helps. Good luck.

cheers,
Gabor

dayvis.a...@skillnet.com.br

unread,
Feb 11, 2015, 9:25:30 AM2/11/15
to redbe...@googlegroups.com

$result = R::getAll('call procedure_name()');
Reply all
Reply to author
Forward
0 new messages