that is an update fired for every single row.....
to get one update statement, you can use the more concise way
db(db.office.office_status==12).update(office_status=13)

On Saturday, October 27, 2012 10:01:22 AM UTC+2, Annet wrote:
>
> Hi,
>
> Something like"
>
> rows=db(db.office.office_status==12).select()
> for r in rows:
>     r.update_record(office_status=13)
>
> Regards,
>
> Annet
>

-- 



Reply via email to