hello there,
i have the following problem, i have a query like this:
que = db.Query(CUser)
que = que.filter('id =', id)
results = que.fetch(limit=50)
and the CUser entity:
class CUser(db.Model):
id_admin = db.StringProperty()
bloc = db.StringProperty()
apartment = db.StringProperty()
the problem is that i have more apartments per each bloc so the
entries look something like this:
admin1 | bloc 1 | ap 1
admin1 | bloc 1 | ap 2
... and so on
when i filter the query for admin1 i want the result to be only "bloc
1"
not something like this:
bloc 1
bloc 1 ....
any solutions?
thanks,
racz
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---