| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | SERVER-30401 Simplify UpdateLeafNode::apply interface | Justin Seyster | 2017-08-18 | 1 | -236/+0 |
| | | | | | | | | | | | | | | We need some simplifiction here because UpdateLeafNode::apply is responsible for so many things (a list of which is in modifier_node.h). This change puts most of those things into one function, so that the various modifier implementations can write a few small overrides to customize their functionality, rather than reimplementing all of apply() in each case. This approach extends the PathCreatingNode approach we took previously for all the modifiers. The one exception is RenameNode, which we implement by composing SetNode and UnsetNode. | ||||
| * | SERVER-28772 PushNode | Justin Seyster | 2017-08-08 | 1 | -3/+9 |
| | | | | | A later commit will remove support for the deprecated $pushAll. | ||||
| * | SERVER-28773 Create insert mode for SetNode | Tess Avitabile | 2017-08-02 | 1 | -0/+4 |
| | | |||||
| * | SERVER-28773 UpdateNode::apply should take a parameter struct | Tess Avitabile | 2017-07-31 | 1 | -48/+43 |
| | | |||||
| * | SERVER-29162 UpdateNode implementation should only validate modified fields | Tess Avitabile | 2017-06-30 | 1 | -4/+122 |
| | | |||||
| * | SERVER-28767 UpdateNode::apply uses exceptions instead of Status. | Justin Seyster | 2017-06-05 | 1 | -24/+17 |
| | | |||||
| * | SERVER-28767 Create IncNode/MulNode | Justin Seyster | 2017-06-02 | 1 | -0/+120 |
| A lot of the update modifiers have behavior that is very similar to $set in how paths that don't yet exist get created (including $inc and $mul, which are added in this commit). The new PathCreatingNode will allow us to use the same path creation code path in all those modifiers. | |||||
