-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it Possible to Call Stored Procedures via SimpleQuery ? #69
Comments
cc @gwynne |
It is currently not possible to call a stored procedure using MySQLNIO at all; there is no implementation of the |
Ah pity as I need to keep most of my logic on the server. Not having Stored Procedures means lots of client side logic and SQL statements :( Hopefully something that can be added soon ? |
Yeah, I'm hoping to get to it in the next couple of weeks. |
Excellent - I can survive until then :-) |
I would also love to have this 😃 |
when calls to stored procedures will be supported? |
Any idea if calling stored procedure from Vapor will ever be available? |
ping @gwynne |
I am trying out MySQL-NIO and I want to be able to call a Stored Procedure from my MySQL database and return the result set to my Swift application, however the SimpleQuery is failing with...
MySQL error: Server error: PROCEDURE Accounts.display_Transactions can't return a result set in the given context
The Stored Procedure only has one select, so it is only returning one result set. If I replace the call with the actual SQL from the Stored Procedure it works.
Is it possible to call a Stored Procedure in this way - or is there another method I should be using ?
thanks
Phil
The text was updated successfully, but these errors were encountered: