Welcome Guest, Not a member yet? Register   Sign In
call a mysql function [not a procedure]
#1

[eluser]mario simaremare[/eluser]
is there anyone can explain how to call a mysql function through CI?

regards,
#2

[eluser]umefarooq[/eluser]
hi if you are talking about min(),max, count sort of function then check CI user guide

http://ellislab.com/codeigniter/user-gui...ecord.html
#3

[eluser]mario simaremare[/eluser]
no, i mean to execute database objects, like stored procedure and function.
any example?
#4

[eluser]WanWizard[/eluser]
You can always use
Code:
$this->db->query()
to call a stored procedure. There are no 'pre-cooked' methods in the AR library to interact with SP's.




Theme © iAndrew 2016 - Forum software by © MyBB