Loading TOC...

MarkLogic 12 EA 1 Product Documentation
xdmp.collectionId

xdmp.collectionId(
   uri as String
) as (Number|String)

Summary

Return the ID of a collection specified by URI.

Parameters
uri A collection URI.

Example

xdmp.collectionId("http://marklogic.com/xdmp/triggers")
=> 1434830478882802398

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