Hi All,
I am new to Mongo in BD hence my question might seem trivial so bear with 
me.

Question...
I want to pass variables (URL, FORM, etc) in 
the MongoCollectionFind statement. Example could be <cfset results = 
MongoCollectionFind("mongo", "myNewCollection", {"age": 
#form.selectedAge#}) /> but it doesn't work. I don't get any results back. 
If I hard-code the age (  <cfset results = MongoCollectionFind("mongo", 
"myNewCollection", {"age": 24}) />  ), I get the correct results back. What 
trick am I missing here?

Regards,

Ejaz

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to