Hi there!
I want to know if this can be done efficiently:
I need to sort some database's entities first by one property, and if
there's a tie, to sort them by other property
for example, lets have the following:
class Person(db.Model):
age = IntegerProperty()
height_in_cm = IntegerProperty()
how can I sort first by age, but if I have two people with the same
age, to sort them by height_in_cm
I hope I made myself clear
and thanks in advance for your help
Manuel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---