How can I cast a variable I'm sending to an RPC (function) #1183
-
Beta Was this translation helpful? Give feedback.
Answered by
steve-chavez
Apr 18, 2021
Replies: 1 comment 1 reply
-
You need to double quote the function name if you use a camel case identifier, like: CREATE OR REPLACE FUNCTION "CompleteQuest"("questId" bigint) Otherwise postgres will convert the identifier to lowercase. (Also quote the parameter names if they have uppercase chars) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nruffilo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to double quote the function name if you use a camel case identifier, like:
Otherwise postgres will convert the identifier to lowercase.
(Also quote the parameter names if they have uppercase chars)