Skip to content
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

Please add support for stored procedures, with arguments #100

Open
rstrauss opened this issue Jan 1, 2018 · 2 comments
Open

Please add support for stored procedures, with arguments #100

rstrauss opened this issue Jan 1, 2018 · 2 comments

Comments

@rstrauss
Copy link

rstrauss commented Jan 1, 2018

I have a couple of simple stored procedures that I need to call.
I can't move off of NodeJS till this works, I think. (Though perhaps I could insert the call into a table a table and run the procedures as a trigger...)

@rgmz
Copy link

rgmz commented Feb 19, 2018

Support for stored procedures is definitely something that needs to be done.

In the mean time, I am using the following with PostgreSQL:

client.rxQueryWithParams("SELECT sp_foo(?);", new JsonArray().add("Bar"))

It's not ideal, but it trumps the alternative.

@vietj
Copy link
Contributor

vietj commented Feb 19, 2018

@vic1982 I think what you are doing is the way to go and is what actually Postgres today recommends

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants