MarkLogic Server 11.0 Product Documentation
xdmp.collectionsxdmp.collections() as Sequence
Summary
Returns the IDs of all collections in the system.
Example
xdmp.collections();
=> [2392349873545, 325667234556]
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.