diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2017-07-31 16:56:39 -0400 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2017-08-02 16:17:20 -0400 |
commit | f38554ab9fd611bb798812e4eb1fa7e3d3bbb7e3 (patch) | |
tree | 78c6942f857158d205a71bebde9f95b373848975 /src/mongo/db/update/set_node.h | |
parent | 5f1ce8b6765a25d45ba5e35063db417b3069c8d6 (diff) | |
download | mongo-f38554ab9fd611bb798812e4eb1fa7e3d3bbb7e3.tar.gz |
SERVER-28773 Create insert mode for SetNode
Diffstat (limited to 'src/mongo/db/update/set_node.h')
-rw-r--r-- | src/mongo/db/update/set_node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/update/set_node.h b/src/mongo/db/update/set_node.h index 626d47be7ed..26c4a66d9a5 100644 --- a/src/mongo/db/update/set_node.h +++ b/src/mongo/db/update/set_node.h @@ -38,6 +38,8 @@ namespace mongo { */ class SetNode : public PathCreatingNode { public: + explicit SetNode(Context context = Context::kAll) : PathCreatingNode(context) {} + Status init(BSONElement modExpr, const CollatorInterface* collator) final; std::unique_ptr<UpdateNode> clone() const final { |