We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I made a function to do a complex update so I had no need for a return value, hence the void return type.
My use of pgo looked like this:
pgo:query(<<"SELECT foo($1)">>, [Id])
This resulted in pgo erroring out not knowing how to decode the value which is understandable.
The easy workaround was to set the return type to integer, and return 0 in the function.
I'm not sure if this really needs to be fixed, but I thought it was worth reporting the error since it failed on a valid postgres query.
The text was updated successfully, but these errors were encountered:
Can you cast to void, like pgo:query(<<"SELECT foo($1)::void">>, [Id])?
pgo:query(<<"SELECT foo($1)::void">>, [Id])
Sorry, something went wrong.
No branches or pull requests
I made a function to do a complex update so I had no need for a return value, hence the void return type.
My use of pgo looked like this:
This resulted in pgo erroring out not knowing how to decode the value which is understandable.
The easy workaround was to set the return type to integer, and return 0 in the function.
I'm not sure if this really needs to be fixed, but I thought it was worth reporting the error since it failed on a valid postgres query.
The text was updated successfully, but these errors were encountered: