Thanks, Massimo.
On Jul 1, 4:37 pm, Massimo Di Pierro <[email protected]> wrote: > db(db.table.id=-id).update(db.table.field=db.table.field+1) > > does not work on GAE > > On Jul 1, 3:33 pm, weheh <[email protected]> wrote: > > > > > > > > > With web2py, can you increment an integer field, which is used as a > > counter, with just 1 call to the db? Regardless, I'm looking for the > > most efficient stand-alone syntax for incrementing a field. 1 line is > > better than 2.

