
MarkLogic 9 Product Documentation
xdmp:collectionsxdmp:collections() as xs:unsignedLong*
Summary
Returns the IDs of all collections in the system.
Example
xdmp:collections()
=> (2392349873545, 325667234556)
Copyright © 2025 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.