i try to trigger an update query from js query after save changes in the new table component:
saveChangesProjects.trigger({
columnName: columnName,
columnValue: columnValue,
uniqueKey: uniqueKey
});
this is the 'saveChangesProjects' query:
UPDATE projects
SET {{columnName}} = {{columnValue}}
WHERE id = {{uniqueKey}}
and this is the error messege that i got:
syntax error at or near "$1"