have you tried? db.table.updated_on.update=None # disable it db(query).update(counter=db.table.counter+1)
On Sunday, 29 July 2012 17:28:35 UTC-5, Vasile Ermicioi wrote: > > hi, > > I have a table with computed fields, and also field with update values > (e.g updated_on) > I want to increase a field count (number of views) each time an item is > displayed but without touching other fields > > how to do that without raw sql? > --