Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Doctrine + SQL Server Stored Procedures

How can I call a stored procedure using Doctrine?

like image 555
Rodrigo Reis Avatar asked Jan 26 '26 15:01

Rodrigo Reis


1 Answers

Doctrine doesn't have support for stored procedures per se. The exact method depends on doctrine version, but the best thing to do is to use doctrine native interface and call the proc directly with results eventually mapped to a domain class, if needed.

like image 165
Tomáš Plešek Avatar answered Jan 29 '26 06:01

Tomáš Plešek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!