xdmp.collections() as Sequence
Returns the IDs of all collections in the system.
xdmp.collections(); => [2392349873545, 325667234556]