Any of these will do:

db.auth_user[id] =
dict(first_name=first_name,last_name=last_name) db.auth_user[id].update_record(first_name=first_name,last_name=last_name) db(db.auth_user.id==id).update(first_name=first_name,last_name=last_name)
On Nov 27, 5:51 pm, Constantine Vasil <[email protected]> wrote:
> Hi Massimo,
>
> It worked, the cache was the issue. Also is it possible to
> update both first and last name in batch? This is a general question
> how can the database fields can be updated in one operation?
>
> Thank you, the framework is excellent!

Reply via email to