

The destination_field is ignored for this operation. This conversion ensures the type for destination_field is consistent across all documents.

If the source_field does not exist in the current document, then the destination_field is still converted into an array (if it is not an array already). This operation removes the source_field after the merge. The destination_field is converted into an array if it is not already an array, and the value of the source_field is appended to the array. Merge - Merges the value of the source_field with the value of the destination_field. Rename is identical to copy, except that the source_field is removed after the value has been copied to the destination_field (it is the same as a copy followed by a remove). If the destination_field already exists, then the value of the source_field overwrites the original value of the destination_field. Move - Renames (moves) the source_field to the destination_field.

Identifies what type of operation to perform.Ĭopy - Copies the value of the source_field to the destination_field field.
