On Thu, May 1, 2008 at 6:33 PM, Paul Jobs <[EMAIL PROTECTED]> wrote:
>
>  lenfriends=len(friends_app_users)
>
>  
> db.update('users',number_sent='number_sent+$lenfriends',where='uid=$uid',vars=locals())

db.query('UPDATE users SET number_sent=number_sent + $lenfriends WHERE
uid=$uid', vars=locals())

--~--~---------~--~----~------------~-------~--~----~
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