MarkLogic Server 11.0 Product Documentation
xdmp:collection-id

xdmp:collection-id(
   $uri as xs:string
) as xs:unsignedLong

Summary

Return the ID of a collection specified by URI.

Parameters
uri A collection URI.

Example

xdmp:collection-id("http://marklogic.com/xdmp/triggers")
=> 1434830478882802398
Powered by MarkLogic Server | Terms of Use | Privacy Policy