On Feb 18, 2008, at 8:48 AM, Stanislav Sinyagin wrote: > hi, > > > > I'm > storing some events in a log table under Jifty control, and I want > to flush the old > events, because the table grows quite significantly. > > It would be cool to have it inside Collection class, the possibility > to delete the matching > records without loading each of them into the memory. > > Is Jifty::DBI::Collection the right place to implement this? >
I think it is. It might also be cool to have a way to update all records in a collection at once. you' probably want to look at how - >count works and model on that > stan > > > > > _______________________________________________ > jifty-devel mailing list > [email protected] > http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel > _______________________________________________ jifty-devel mailing list [email protected] http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
