[jifty-devel] Massive deletion from a table

Jesse Vincent jesse at bestpractical.com
Mon Feb 18 09:44:34 EST 2008


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
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>



More information about the jifty-devel mailing list