lets say you have a lot of records with somefield == "anything"

db(db.mytable.somefield == "anything").update(field="something")




On Tue, Jan 31, 2012 at 5:01 PM, Ashraf Mansour <ad...@aqar-riyadh.com>wrote:

> Hi all,
>
> I am looking for an example that updates many records in a table.
> ( similar to sql update)
>
> It seems that crud.update is handling one record.
>
> I thought about looping (for) and/or executesql.
>
> An example will be perfect.
>
> Regards,
>
> Ashraf
>



-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to