summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_group.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2013-09-17 18:44:35 -0400
committerMathias Stearn <mathias@10gen.com>2015-06-09 16:33:21 -0400
commitac0ff84d3fd4c127af8cbcea560d3793a3c3f131 (patch)
treedf75f10bd8a8da3db7b074b15dcec38935ff6992 /src/mongo/db/pipeline/document_source_group.cpp
parenta5fae81a6bd8c25cd2508c9b303ac1a1c9c18011 (diff)
downloadmongo-ac0ff84d3fd4c127af8cbcea560d3793a3c3f131.tar.gz
SERVER-5044 Standard Deviation accumulator operators
Diffstat (limited to 'src/mongo/db/pipeline/document_source_group.cpp')
-rw-r--r--src/mongo/db/pipeline/document_source_group.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_group.cpp b/src/mongo/db/pipeline/document_source_group.cpp
index 5003211e932..8305225a467 100644
--- a/src/mongo/db/pipeline/document_source_group.cpp
+++ b/src/mongo/db/pipeline/document_source_group.cpp
@@ -241,6 +241,8 @@ namespace mongo {
{"$max", AccumulatorMinMax::createMax},
{"$min", AccumulatorMinMax::createMin},
{"$push", AccumulatorPush::create},
+ {"$stdDevPop", AccumulatorStdDev::createPop},
+ {"$stdDevSamp", AccumulatorStdDev::createSamp},
{"$sum", AccumulatorSum::create},
};