dls.documentVersionUris( uri as String ) as Sequence
This function returns the URIs of all versions of a
managed document. This includes URIs to the document properties
of versions of documents that have been deleted but with history
retained. See
dls.documentVersionDelete
for
details on the retain-history
argument.
Parameters | |
---|---|
uri | The URI of the document. |
dls-user
role is required to run
this function, or the privilege:http://marklogic.com/xdmp/privileges/dls-user
// Returns the URIs of all versions of the 'baz.xml' document. const dls = require('/MarkLogic/dls'); dls.documentVersionUris('/foo/bar/baz.xml');
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.