tag:blogger.com,1999:blog-18508356.post1180830584438711461..comments2022-03-17T04:29:28.308-04:00Comments on Just a little Python: Using MongoDB's New Aggregation Framework in Python (MongoDB Aggregation Part 2)Rick Copelandhttp://www.blogger.com/profile/11612114223288841087noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-18508356.post-75123394874819476322012-10-23T11:34:24.138-04:002012-10-23T11:34:24.138-04:00Thanks for the comment! Currently, only simple ari...Thanks for the comment! Currently, only simple arithmetic expressions are supported by the aggregation framework (http://docs.mongodb.org/manual/reference/aggregation/#expressions). From what I understand, it's straightforward to add new operators, so if there are particular things you're interested in, I'd recommend creating a JIRA ticket at https://jira.mongodb.orgRick Copelandhttps://www.blogger.com/profile/11612114223288841087noreply@blogger.comtag:blogger.com,1999:blog-18508356.post-50231304066276880832012-10-23T08:41:48.052-04:002012-10-23T08:41:48.052-04:00Suppose I want to compute the log N in the pipelin...Suppose I want to compute the log N in the pipeline, the operators I see are $add, $multiply, etc. Where can I find and functions supported by aggregation. Not all computation involves those simple operators. May be a power function. How would I do that in aggregation. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-18508356.post-55309274990793930812012-06-01T12:03:59.939-04:002012-06-01T12:03:59.939-04:00Thanks for the info, Chris. I've updated the p...Thanks for the info, Chris. I've updated the post to reflect that information.<br /><br />And thanks again for the framework!Rick Copelandhttps://www.blogger.com/profile/11612114223288841087noreply@blogger.comtag:blogger.com,1999:blog-18508356.post-86235603490444118522012-06-01T10:17:18.252-04:002012-06-01T10:17:18.252-04:00explain is now in the development builds. Add expl...explain is now in the development builds. Add explain:true to your aggregation command.Chris Westinhttps://www.bookofbrilliantthings.comnoreply@blogger.com