Skip to content

Supporting RETURNING clause in INSERT, UPDATE, DELETE statements (pgsql) #1339

@iAchilles

Description

@iAchilles

Hi there!
It would be nice to use RETURNING clause in the queries like that:

INSERT INTO t (city, name) VALUES ('Santa Monica', 'Igor') RETURNING id;
UPDATE t SET city = 'New York'  WHERE name = 'Chris' RETURNING id;
DELETE FROM t WHERE city = 'Abu Dhabi' RETURNING id;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions