1.1.8 has PolyModel s, which provide a way for {superclass}.get_by_key_name() to get an instance of the subclass. (The datastore still doesn't know anything about subclasses. As far as the datastore is concerned, there are no instances of the subclasses. The run time tells the datastore that all instances of the subclasses are instances of the superclass but the runtime also adds a field identifying the subclass to each entity in the datastore. The run-time then uses that field to determine what kind of python object to build when something comes back from the datastore as a result of a query or one of the various forms of get.)
On Jan 21, 4:45 pm, theillustratedlife <toonscr...@nvbell.net> wrote: > On Dec 11 2008, 6:02 am, Andy Freeman <ana...@earthlink.net> wrote: > > > I thought that he was asking about properties that are present in some > > instances and not others. If a given instance doesn't have a given > > property, it isn't indexed by that property and one would hope that > > there'd be no overhead when said instance is put. > > Correct. I don't provide a value for any property I don't need. It's > worked for me so far. . . --~--~---------~--~----~------------~-------~--~----~ 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 google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---