Replies: 1 comment
-
I suspect that PostgreSQL has no way to determine the expected types of the bind placeholders in the values clause. Try specifying the type in your query. e.g. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm getting SQL errors for the following query:
success
, andattempt
fields are boolean and integer respectfully. The arguments passed toExec()
function are bool and an int, called like this:Everything looks ok to me, yet postgres begs to disagree:
inserting result error: ERROR: column \"attempt\" is of type integer but expression is of type text (SQLSTATE 42804)
Beta Was this translation helpful? Give feedback.
All reactions