You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am quite new to SQL and PGTyped.
What is the correct pattern if i want to update records in a table with five columns ?
Do i have to create a function for each one of the five columns ?
I have tried to use a parameterized column name in my UPDATE statement, but it doesn't seem to be accepted by the pgtyped compiler (probably because of dangerous construct).
What are my options ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am quite new to SQL and PGTyped.
What is the correct pattern if i want to update records in a table with five columns ?
Do i have to create a function for each one of the five columns ?
I have tried to use a parameterized column name in my UPDATE statement, but it doesn't seem to be accepted by the pgtyped compiler (probably because of dangerous construct).
What are my options ?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions