And alternative would be to override 'kind'. Just make sure you
remember when doing GQL queries in the console:
class MyModelClassWithLongName(db.Model):
def kind(self):
return 'MWLN'
On Nov 4, 6:55 am, Anh Hai Trinh <[email protected]> wrote:
> Since every full entity key includes the name of its model class (and
> its parents'), is the following scheme preferable in term of metadata
> space usage?
>
> Instead of
>
> class MyModelClassWithLongName(db.Model):
> ...
>
> I'd use:
>
> class MWLN(db.Model):
> ...
>
> MyModelWithLongName = MWLN
>
> ----aht
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---