diff options
author | Justin Seyster <justin.seyster@mongodb.com> | 2017-08-08 22:48:05 -0400 |
---|---|---|
committer | Justin Seyster <justin.seyster@mongodb.com> | 2017-08-08 22:49:08 -0400 |
commit | bf99c6ff2fbd95590aa86818c07b9bc121557f06 (patch) | |
tree | db049bdd046b31b07cfac1a9711b2f16f22976ed /src/mongo/db/update/modifier_table.cpp | |
parent | c7661b14867cd058e1a67986b8e05a7020fc0a5e (diff) | |
download | mongo-bf99c6ff2fbd95590aa86818c07b9bc121557f06.tar.gz |
SERVER-28772 PushNode
A later commit will remove support for the deprecated $pushAll.
Diffstat (limited to 'src/mongo/db/update/modifier_table.cpp')
-rw-r--r-- | src/mongo/db/update/modifier_table.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/update/modifier_table.cpp b/src/mongo/db/update/modifier_table.cpp index 72611147891..e25cbbc2d62 100644 --- a/src/mongo/db/update/modifier_table.cpp +++ b/src/mongo/db/update/modifier_table.cpp @@ -55,6 +55,7 @@ #include "mongo/db/update/pop_node.h" #include "mongo/db/update/pull_node.h" #include "mongo/db/update/pullall_node.h" +#include "mongo/db/update/push_node.h" #include "mongo/db/update/rename_node.h" #include "mongo/db/update/set_node.h" #include "mongo/db/update/unset_node.h" @@ -212,6 +213,8 @@ std::unique_ptr<UpdateLeafNode> makeUpdateLeafNode(ModifierType modType) { return stdx::make_unique<PullNode>(); case MOD_PULL_ALL: return stdx::make_unique<PullAllNode>(); + case MOD_PUSH: + return stdx::make_unique<PushNode>(); case MOD_RENAME: return stdx::make_unique<RenameNode>(); case MOD_SET: |