如果我的查询很愚蠢,我很抱歉,但请原谅我是谷歌应用引擎和 python 的新手,我拥有名为 Location 的实体
class Location(db.Model):
place = db.StringProperty(required = True)
address = db.TextProperty(required = True)
approx_distance = db.StringProperty(required = True)
GQL 查询
location = db.GqlQuery("SELECT * FROM Location WHERE place='Mumbai'")
给出属性错误
AttributeError: 'GqlQuery' object has no attribute 'place'
请帮忙