Have you thought of using Expando Models
http://code.google.com/appengine/docs/datastore/entitiesandmodels.html#Expando_Models
Put the properties all objects need as db.xxProperty's and the extra
fields for the subclasses as expando properties. Add 1 property to the
'base-class' to determine what type of subclass it is, to determine
which extra properties the object has, or you might try the
obj.getattr() method.

2008/12/10 yejun <[EMAIL PROTECTED]>:
>
> Any indexable property will cost a couple million cpu cycle when you
> put a new entity. You should set them to text or blob to avoid index
> penalty.

--~--~---------~--~----~------------~-------~--~----~
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