VoyageMongo and Aggregate functions
Hi, I am using VoyageMongo to store some data in a mongo database, and I am trying to use some aggregate functions or map/reduce approach, as shown on http://docs.mongodb.org/manual/aggregation/. Is it possible to do it in Voyage, even by directly calling the MongoTalk objects? I am interested in this because it is much more efficient than loading all the data in the pharo image and selecting it afterwards. Thanks, Tommaso (and Roberto)
Doable in MongoTalk. I posted an example a while ago. Phil Le 29 avr. 2015 18:09, "Tommaso Dal Sasso" <tommaso.dalsasso@gmail.com> a écrit :
Hi,
I am using VoyageMongo to store some data in a mongo database, and I am trying to use some aggregate functions or map/reduce approach, as shown on http://docs.mongodb.org/manual/aggregation/.
Is it possible to do it in Voyage, even by directly calling the MongoTalk objects? I am interested in this because it is much more efficient than loading all the data in the pharo image and selecting it afterwards.
Thanks, Tommaso (and Roberto)
On 29/04/15 19:10, phil@highoctane.be wrote:
Doable in MongoTalk.
I posted an example a while ago.
OK, it took me a while, but it works. Thanks! Tommaso
Phil
Le 29 avr. 2015 18:09, "Tommaso Dal Sasso" <tommaso.dalsasso@gmail.com <mailto:tommaso.dalsasso@gmail.com>> a écrit :
Hi,
I am using VoyageMongo to store some data in a mongo database, and I am trying to use some aggregate functions or map/reduce approach, as shown on http://docs.mongodb.org/manual/aggregation/.
Is it possible to do it in Voyage, even by directly calling the MongoTalk objects? I am interested in this because it is much more efficient than loading all the data in the pharo image and selecting it afterwards.
Thanks, Tommaso (and Roberto)
participants (2)
-
phil@highoctane.be -
Tommaso Dal Sasso