mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Doctrine 2 - Stored procedures MySql #5733
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zbyyna on GitHub (Oct 10, 2017).
Originally assigned to: @lcobucci on GitHub.
Hello,
I apologize for new issue, but I don't know where to ask. I want to write to google group, but it is not possible add to new comment..
I am trying to work with stored procedures in Doctrine 2 in Symfony 3 and I have i problem with fetching data. This is my code in repository:
Here is my procedure:
Problem is, that $res returns null data. Can I ask for help with work with stored procedure? I would like to call the mysql procedures and fetching data in repository, than transmit whole SQL statement through
network. This solution is best for performance and organizability SQL code..It is possible working with stored procedures in Doctrine 2?
Thank you for any answer,
Zbyyna
@lcobucci commented on GitHub (Nov 26, 2017):
@zbyyna there are differences between a
FUNCTIONand aPROCEDURE, procedures can't return values.@lcobucci commented on GitHub (Nov 26, 2017):
But maybe you're looking for a
VIEWinstead?@lcobucci commented on GitHub (Nov 26, 2017):
Closing since the question has been answered, please re-open if you feel the need of discussing it further.