MapReduce Query question

14 views
Skip to first unread message

Joel Spriggs

unread,
Sep 10, 2014, 12:49:12 PM9/10/14
to cfmo...@googlegroups.com
Does anyone have any examples of how to use the query object for the MapReduce function in CFMongoDB?  I've looked through the examples and tried to read through documentation, but I'm not finding it very clear for what I would pass in.  In a regular mongo call, I'd just pass in this json for the query portion, but it's not translating the same for me in the CF code expected for this.

{sessionDate: {$gt: ISODate("2013-07-01T00:00:00.000Z"), $lt: ISODate("2013-12-31T23:59:59.000Z")}}


Marc Esher

unread,
Sep 23, 2014, 10:39:34 AM9/23/14
to cfmo...@googlegroups.com
Hey Joel,

Did you ever get this working?

Marc

On Wed, Sep 10, 2014 at 12:49 PM, Joel Spriggs <joel.s...@gmail.com> wrote:
Does anyone have any examples of how to use the query object for the MapReduce function in CFMongoDB?  I've looked through the examples and tried to read through documentation, but I'm not finding it very clear for what I would pass in.  In a regular mongo call, I'd just pass in this json for the query portion, but it's not translating the same for me in the CF code expected for this.

{sessionDate: {$gt: ISODate("2013-07-01T00:00:00.000Z"), $lt: ISODate("2013-12-31T23:59:59.000Z")}}


--
You received this message because you are subscribed to the Google Groups "CFMongoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cfmongodb+...@googlegroups.com.
To post to this group, send email to cfmo...@googlegroups.com.
Visit this group at http://groups.google.com/group/cfmongodb.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages