Two related questions.

First,  I have a resultset where I want to call $rs->delete_all and I'd
like to know specifically which rows got deleted.    RETURNING works for
this, of course, but wondering if there's a way in DBIC to do this.

In a similar way we often will update or insert and then ->discard_changes
to fetch updated row, but that's two queries.   Any way to do more than
just RETURNING id?


-- 
Bill Moseley
mose...@hank.org
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk

Reply via email to