MarkLogic 10 Product Documentation
temporal.nodeDelete

temporal.nodeDelete(
   temporal-collection as String,
   old as Node,
   [temporal-doc-uri as String]
) as null

Summary

Deletes a node from the database. On-the-fly constructed nodes cannot be deleted.

Parameters
temporal-collection The URI for the protected temporal collection in which the document is to belong. This must have been previously created by the temporal:collectionCreate function. All versions of the temporal document will be associated with this temporal collection.
old The node to be deleted.
temporal-doc-uri The URI of the temporal document to be updated.

Usage Notes

The third argument "temporal-doc-uri" is not required for documents inserted with MarkLogic 9.0 version of temporal:documentInsert or later.
Powered by MarkLogic Server | Terms of Use | Privacy Policy