MarkLogic 9 Product Documentation
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. :)
Powered by MarkLogic Server | Terms of Use | Privacy Policy