Separating out the relationship would probably be better:

<cfproperty name="Comments" dbtype="google" type="Array"
relationship="path.to.comment" />

Then you could omit the type=array since it is implied by the relationship:

<cfproperty name="Comments" dbtype="google" relationship="path.to.comment"
/>

How to load the object and its relationships will be interesting. GAE
doesn't support joins, so relationships can be lazy loaded guilt-free (since
the datastore will need to be queried multiple times anyway). So when/how
would the comments load? A new loadRelationship() function? Transfer would
generate a custom function called getCommentsArray() that pulls the objects
from the transfer cache - and the cache gets its data from a relational db,
usually only once.

Fin.

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to