temporal:collections() as xs:string*
This function returns all of the temporal collection names in the schema database.
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. :)