-
Notifications
You must be signed in to change notification settings - Fork 495
Closed
Description
Trying to construct an update statement like the following in squirrel is proving impossible:
-- Update value in table a for all rows where the associated table b row has specified value in test_column
UPDATE table_a
SET table_a.value_column = $1
FROM table_b
WHERE table_b.a_id = table_a.id
and table_b.test_column = $2I think UpdateBuilder should support a FROM clause to be able to leverage the abilities of postgres updates syntax: https://www.postgresql.org/docs/current/static/sql-update.html
sdalezman, andofcourse, misun6312 and aaokunev
Metadata
Metadata
Assignees
Labels
No labels