MarkLogic Server 11.0 Product Documentation
es:copy-attachments

es:copy-attachments(
   $destination as map:map,
   $source as xs:string
) as map:map

Summary

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.

Parameters
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

Powered by MarkLogic Server | Terms of Use | Privacy Policy