Fix INSERT RETURNING with DEFAULT VALUES for SQL Server wip/mssql-insert-returning
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sat, 20 Jul 2013 22:14:41 +0000 (23:14 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Thu, 12 Jun 2014 12:30:29 +0000 (14:30 +0200)
commit449e2dc1868543468a89800bb6a4c406087b36af
treec81e8d18b8264e354c00f56aa7cc63f9844c3c1b
parentf1b1d954fa373d7aabd24de2712cfa141f030540
Fix INSERT RETURNING with DEFAULT VALUES for SQL Server

There's no need to duplicate the RETURNING logic for the DEFAULT VALUES
case, ::SQLMaker only does that because it delegates the normal case to
SQL::Abstract.

Also build the SQL the right way around in the first place, instead of
building it wrong and then regex-mangling it.
lib/DBIx/Class/SQLMaker/MSSQL.pm