my code:
class PDM_InitReportEntity(db.Model):
     ....
     Users=db.ListProperty(users.User)
     ....
another class:
...
def get(self):
    ...
    curentuser=users.User("[EMAIL PROTECTED]")
    pet=PDM_InitReportEntity()
    pet.FaceUsers=[curentuser]
    pets=db.GqlQuery("SELECT * FROM PDM_InitReportEntity WHERE :1 in
FaceUsers",curentuser)#canont select like this
    for singlepet in pets:
        self.response.out.write(singlepet.CoName)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to