hello, How to call* stored procedure* in Symfony2?

case: 
i create sp in postgreSQL named *get_manhours_all*() where will return the 
result of this:

select sum(extract(epoch from end_time) - extract(epoch from 
begin_time))/3600 as manhours from timeslot;

is there a method in symfony2 to call *get_manhours_all*() --> the native 
query is* SELECT get_manhours_all();*

Thanks...

-- 
-- 
If you want to report a vulnerability issue on Symfony, please read the 
procedure on http://symfony.com/security

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Symfony developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to symfony-devs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to