MarkLogic Server 11.0 Product Documentation
es.copyAttachments

es.copyAttachments(
   destination as Object,
   source as String
) as Object

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 An 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