Loading TOC...

MarkLogic 10 Product Documentation
xdmp:collections

xdmp:collections() as xs:unsignedLong*

Summary

Returns the IDs of all collections in the system.

Example

xdmp:collections()
=> (2392349873545, 325667234556)

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.