I have a GroupWallet model where I want to store how much money several persons have. This information consist of the person, the persons key and the amount. So you could say I would like to save a list of tuples
[(Joe, JoeKey, 34),
(Beth,BethKey,65)]
I've tried having a relational object (between GroupWallet and Person) but that did not scale very well.
I've been thinking of having three parallel lists, e.g. Names
, NameKeys
, Amount
and use indexes to link the tuples together. But I don't like that solution and ran over NDB and StructuredProperty who does this in a nice way! But I also need PolyModel which does not exist in NDB, only in the original db library.
So my question is; does anybody know an independent StructuredProperty implementation or know if PolyModel will be implemented in NDB anytime soon?