The Documents, Directories, Properties, and Locks functions are XQuery built-in extension functions that get information from documents, directories, properties, and locks from MarkLogic Server. All of these are stored as fragments in a database.
Function name | Description |
---|---|
xdmp.collectionLocks | Returns locks of documents in a collection. |
xdmp.collectionProperties | Returns a sequence of properties documents, one for each document in the specified collection(s) that has a corresponding properties document. |
xdmp.directory | Returns the documents from the database in a directory. |
xdmp.directoryLocks | Returns locks of documents in a directory. |
xdmp.directoryProperties | Returns a sequence of properties documents, one for each document in the specified directory that has a corresponding properties document. |
xdmp.documentGetProperties | Returns the property values for a document's property. |
xdmp.documentGetQuality | Returns the quality of the specified document if the document exists. |
xdmp.documentLocks | Returns the locks for one or more documents or directories. |
xdmp.documentProperties | Returns a sequence of properties documents, one for each of the specified documents that has a corresponding properties document. |