temporal.axes() as Sequence
This function returns all the axis names defined in the schema databases.
const temporal = require("/MarkLogic/temporal.xqy"); temporal.axes() // Returns the names of all of the axes in the database.