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:collection-locks | Returns locks of documents in a collection. |
xdmp:collection-properties | 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:directory-locks | Returns locks of documents in a directory. |
xdmp:directory-properties | Returns a sequence of properties documents, one for each document in the specified directory that has a corresponding properties document. |
xdmp:document-get-properties | Returns the property values for a document's property. |
xdmp:document-get-quality | Returns the quality of the specified document if the document exists. |
xdmp:document-locks | Returns the locks for one or more documents or directories. |
xdmp:document-properties | Returns a sequence of properties documents, one for each of the specified documents that has a corresponding properties document. |