Hallo there! I am new to this list, this is my first e-mail.
I am trying to do an update to the database.

this doesn't work:

db.update("Authenticated_user", {"id": api.me().id},
                 where="id_user=$id", last_update=tl[0].id)


while this works, but looks uglier:

db.update("Authenticated_user", where="id_user="+str(api.me().id),
                  last_update=tl[0].id)


Does anyone know why? The documentation of update is here
http://webpy.org/cookbook/select and I think I am doing it right

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to