On Wed, Oct 31, 2012 at 04:44:54PM +0300, Eugene Yarmash wrote: >/ "discard_changes" is more general approach. For example it can be />/ used with "prefetch". / <blink>. If anything discard_changes and prefetch are rather mutually exclusive. Can you clarify what do you mean?
$object = $rs->create($data) ->discard_changes({ prefetch => ['key1', key2' ] }); -- Regards, Eugene Yarmash
_______________________________________________ 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