summaryrefslogtreecommitdiff
path: root/src/mongo/db/update/modifier_table.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-30854 Remove ModifierInterface update code.Justin Seyster2017-12-141-7/+0
| | | | | | | | We left the deleted update system in 3.6 to support upgrades from 3.4, but newer versions will always use the new UpdateNode update system. Fun fact: this commit deletes more lines than were inserted by the previous 100 commits.
* SERVER-28772 Remove the $pushAll modifier.Justin Seyster2017-08-101-1/+0
| | | | | | | | | The $pushAll modifier was deprecated and is now unsupported. Clients should switch to the $push modifier with $each to get $pushAll behavior. This patch also updates some copyright notices that should have been updated as part of file renames in bf99c6.
* SERVER-28774 Add RenameNode.Justin Seyster2017-06-291-0/+1
| | | | | | | | | | | | | | | | A $rename is implemented with two UpdateLeafNode classes: RenameNode and ConflictPlaceholderNode. The ConflictPlaceHolder node exists only to mark the source path of the rename in the update tree, so that it generates a conflict if another modifier tries to act on the same path. Actually writing the destination path and unsetting the source path occurs in RenameNode apply method. The RenameNode gets placed in the update tree according to its destination path, so that when we reach the RenameNode apply method, pathTaken and pathToCreate are with respect to the destination path, allowing us to create the path if we need to.
* SERVER-28621 Parse BSON update expression into an UpdateNode treeTess Avitabile2017-04-201-0/+76