Can a class be an Expando and Polymodel in Google App Engine? -


If I create a polymodel square, such as a person, can I create an exception model under that polymodel? For example, a class male (person) who was also an expando model? if so, how?

Thank you!

Excerpt from:

Polymodel does not support dynamic properties , As Expeddo does not have the equivalent of polymodel for Expando.

However, there are ways to work around using the low-level datastore API. They should also work fine with the PolyModel class but the code will not be very good and I do not recommend it. I do not have time to gather an example now, but it will probably be tomorrow tomorrow if no one else does.

For now, you can take a look at PolyModel class I. Google has its own (and yes, the fact is that both of them have a pure coincidence = ) Before writing, it can inspire you to create your own expando -sourcing version, here's the lack of other solutions you should come here: And


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -