Monday, December 7, 2009

Query with variable and AND

It is
query =db.GqlQuery("SELECT * FROM table WHERE 1st_attribute =:variable AND 2nd_attribute ='value' ", variable = data)

0 comments:

Post a Comment