Loading TOC...


   $temporal-collection as xs:string,
   $uri as xs:string
) as empty-sequence()


Deletes all versions of a temporal document.

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:collection-create function. All versions of the temporal document will be associated with this temporal collection.
uri The URI to be used to identify the document in the database. If the document is not the latest version, a suffix will be concatenated to the document URI with a dot as the new URI of the document.

Required Privileges

By default http://marklogic.com/xdmp/privileges/temporal-document-wipe or the one user specified for this temporal collection.



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