temporal.collections() as Sequence
This function returns all of the temporal collection names in the schema database.
var temporal = require("/MarkLogic/temporal.xqy"); temporal.collections() // Returns the names of all of the temporal collections.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.