[DBIx-Class-Devel] [dbsrgits/sql-abstract] Add support for DELETE ... RETURNING ... (#9)
Sebastian Riedel
notifications at github.com
Mon Mar 20 21:44:17 GMT 2017
Right now `SQL::Abstract` supports `INSERT ... RETURNIG ...` and `UPDATE ... RETURNING ...`, that leaves only `DELETE ... RETURNING ...`, which is also supported by [PostgreSQL](https://www.postgresql.org/docs/9.6/static/sql-delete.html). I've tried to emulate the style of `UPDATE ... RETURNING ...`, but if there's anything i forgot please let me know and i'll update the pull request.
You can view, comment on, or merge this pull request online at:
https://github.com/dbsrgits/sql-abstract/pull/9
-- Commit Summary --
* Add support for DELETE ... RETURNING ...
-- File Changes --
M lib/SQL/Abstract.pm (27)
M t/01generate.t (21)
-- Patch Links --
https://github.com/dbsrgits/sql-abstract/pull/9.patch
https://github.com/dbsrgits/sql-abstract/pull/9.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/sql-abstract/pull/9
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20170320/4cfe3a6b/attachment.htm>
More information about the DBIx-Class-Devel
mailing list