Just to get the conversation started, what do you think of these cfproperty
annotations for gae:

<!--- *Post.cfc* --->
<cfcomponent dbtype="google" dbname="Post" output="false">

        <!---* Title* in string format and persisted to google as defined by
dbtype. --->
    <cfproperty name="Title" dbtype="google" type="string" />

        <!---* **CreationDate* persisted to google under a different name
"DateCreated" --->
    <cfproperty name="CreationDate" dbname="DateCreated" dbtype="google"
type="date" />

        <!---* **Comments *will be an array of "comment" objects. This is
evident because "type" is set to the non-standard "comment" and therefore
tells OpenBD that this is a relationship to an object. The real type at the
end will be an array. --->
    <cfproperty name="Comments" dbtype="google" type="Comment" />

        <!---* **CalculatedField* will not be stored in google because it
does not specify dbtype="google" --->
    <cfproperty name="CalculatedField" type="Numeric" />
</cfcomponent>

<!--- *Comment.cfc* has a relationship defined in Post.cfc --->
<cfcomponent dbname="Comment" dbtype="google" output="false">
    <cfproperty name="CommentText" dbtype="google" type="string" />
    <cfproperty name="DateCreated" dbtype="google" type="date" />
</cfcomponent>

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