Loading TOC...

temporal.collections

temporal.collections() as Sequence

Summary

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

Example

const temporal = require("/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.