i think this question should be asked on a doctrine channel (assuming
you use doctrine), see http://www.doctrine-project.org/

a quick check in the doctrine documentation found me this:
http://docs.doctrine-project.org/en/latest/reference/native-sql.html

Am 19.03.2013 10:08, schrieb Asep Fajar Nugraha:
> 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.
>  
>  

-- 
Liip AG // Agile Web Development // T +41 26 422 25 11
CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch

-- 
-- 
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