There are two web2py methods: Set.update(...) Row.update_record(...)
While this Row.update(...) is not a web2py method is a dict method and it does not update the db. Anyway, this not relevant to pk question. On Jan 13, 1:14 pm, Richard Vézina <[email protected]> wrote: > On Thu, Jan 13, 2011 at 2:00 PM, pk <[email protected]>wrote: > > > hi > > > one question: > > def user(): > > if request.args(0) == 'logout': > > query > > return dict(form=auth()) > > what is if i need there the auth.user.id??? > > > this is my query: > > db(db.nao.userid==auth.user.id).update_record(db.nao.ipadress="") > > I think .update is a python method and .update_record is web2py method... > > > is this possible? if not how can i do this? > > > peter > > Richard

