Loading TOC...


   $destination as map:map,
   $source as xs:string
) as map:map


This function is deprecated and will be removed in a future release.
A utility function used in a generated version translator module to copy attachment data from a source instance to a destination instance.

destination A json:object to which attachments will be copied.
source Zero or more instance envelopes or canonical instances from which to copy attachments to destination.

Usage Notes

You will not usually call this function outside of a version translator module generated by Entity Services. The generated code uses this function to copy attachments from one instance version to another.

See Also

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.