10qs bro for your great answer i have solved my problems using your 
sujestions

On Saturday, October 27, 2012 5:15:29 AM UTC-7, Niphlod wrote:
>
> 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