summaryrefslogtreecommitdiff
path: root/src/mongo/db/update/update_node.h
diff options
context:
space:
mode:
authorNick Zolnierz <nicholas.zolnierz@mongodb.com>2018-11-02 09:34:19 -0400
committerNick Zolnierz <nicholas.zolnierz@mongodb.com>2018-11-30 12:18:35 -0500
commitc60c435ffd0bece5000d66cd5ada876717c89827 (patch)
tree8c081eff780ed6d56ff39731a626b7d65da9b03a /src/mongo/db/update/update_node.h
parentf3acfdec219b7a9122b4954a269c89e3604416d2 (diff)
downloadmongo-c60c435ffd0bece5000d66cd5ada876717c89827.tar.gz
SERVER-31012: expose optional way of retrieving FieldRef's for fields that were modified by an update
Diffstat (limited to 'src/mongo/db/update/update_node.h')
-rw-r--r--src/mongo/db/update/update_node.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/update/update_node.h b/src/mongo/db/update/update_node.h
index 11cc451d139..9a53aa7ba50 100644
--- a/src/mongo/db/update/update_node.h
+++ b/src/mongo/db/update/update_node.h
@@ -123,6 +123,9 @@ public:
// If provided, UpdateNode::apply will log the update here.
LogBuilder* logBuilder = nullptr;
+
+ // If provided, UpdateNode::apply will populate this with a path to each modified field.
+ FieldRefSetWithStorage* modifiedPaths = nullptr;
};
/**