Loading TOC...

temporal:collections

temporal:collections() as xs:string*

Summary

This function returns all of the temporal collection names in the schema database.

Example

xquery version "1.0-ml"; 
 
import module namespace temporal = "http://marklogic.com/xdmp/temporal" 
      at "/MarkLogic/temporal.xqy";
 
temporal:collections()

(: Returns the names of all of the temporal collections. :)

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