I'm a little bit stuck here:

 

I can read and write to the datastore and can filter structs but I can't
figure out how to filter on cfc's.  I looked through the demos in the GEA
source and can't see an example.  If anyone can stop what I am doing
incorrectly in the filter sql that would be helpful.

 

I tried a number of ways here is the sample code and the URL to view the
output:

 

http://pcfflex.appspot.com/ 

 

<cfscript>

  employees = GoogleQuery( "select from MyCarLot" );

  GoogleDelete( employees );

  

  CFObj = CreateObject("component", "Car").init(4,"Big",false,300);

 

  keyString = googleWrite(CFObj, "MyCarLot");

 

</cfscript>

<cfquery dbtype="google" name="resultArray">

      select from MyCarLot

</cfquery>

All:

<cfdump var="#resultArray#" />

 

Filter:

<cfquery dbtype="google" name="resultArray">

      select from MyCarLot where Car.topSpeed == 300

</cfquery>

<cfdump var="#resultArray#" />

 

Vanilla object:

<cfdump var="#CFObj#" />

 

Paul.

 

 

 

 

 


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