Delete should return the number of deleted records. What is your proposal?

On Wednesday, 17 October 2012 17:30:22 UTC-5, howesc wrote:
>
> Hi all,
>
> I'm trying to clean up old expired sessions.....but i waited a long time 
> to get to this and now my GAE delete is just timing out.  Reading the GAE 
> docs, there appears to be some improvements that we can make to the query 
> delete method on GAE that will make it faster and cheaper.  what we lose 
> then is the count of the number of rows deleted.
>
> my question is, does having a db(db.table.something==True).delete() that 
> does not return a count break the web2py API contract, or break anyone's 
> applications?
>
> thanks,
>
> christian
>

-- 



Reply via email to