Replies: 3 comments
-
any query you pass to execute must be a valid input for prepare in short - you only can pass simple single values ( numbers, strings, dates, buffers ) as a parameters, can't have tables / databases / procedure names as a parameters The reason this syntax works in |
Beta Was this translation helpful? Give feedback.
-
I'm trying input as provided in example. Since it only shows SET NULL. I have no idea how to debug it. In my actual case, table has large number of columns. |
Beta Was this translation helpful? Give feedback.
-
You'll need to construct query dynamically in that case ( e.i use |
Beta Was this translation helpful? Give feedback.
-
I have no problem with
await connection.execute('INSERT INTO table (dependency_id, title) VALUES (:dependancy_id, :title)', item)
But i keep getting error when I try to use SET.
Beta Was this translation helpful? Give feedback.
All reactions