kissdb.printing = True
1st one is right
kissdb.query('delete from user_messages where friend_id=%s and user_id =
%s'%(frienduid,self.uid))
delete from user_messages where friend_id=2 and user_id = 731179094
second one using vars=locals() sends 731179094L which is wrong!
kissdb.query("delete from user_messages where friend_id=$frienduid and
user_id = $self.uid",vars=locals())
delete from user_messages where friend_id=2 and user_id = 731179094L
--
BidEgg - Worlds best low price Auction site
http://bidegg.com
BidEgg - Worlds best low price Auction site
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---