Skip to content Skip to sidebar Skip to footer

Accessing Mongodb's Object From Mapper (mapreduce)

I have an extra question based on the one I asked before: calculate frequency using mongodb aggregate framework so my data in MongoDB looks like this now: { 'data': { '

Solution 1:

Hate to make this that simple but all you want to do when importing these date strings is this:

newDate("Wed, 09 Apr 2014 14:38:16 +0000")

Which will return a proper date type that you actually should be inserting as part of your data.

Post a Comment for "Accessing Mongodb's Object From Mapper (mapreduce)"