I want to delete all rows with a given state which have not been
modified for a given time in seconds.

my @rows = rs->search({ state => $state }, { last_modified => ??? });
$_->delete for (@rows);

How can I best do this?

-- 
Kiffin Gish <kiffin.g...@planet.nl>
Gouda, The Netherlands



_______________________________________________
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