es.addAttachments( instance as Object, attachments as String ) as Object
This function is deprecated and will be removed in a future release.
A utility function used by generated code to add one or more
nodes to an instance as attachments.
instance
should be an instance node of the
form produced by
es.initInstance
.
You will not usually
call this function outside of code generated by Entity Services. The
generated code uses this function to add the original raw source to
an instance as an attachment.