MarkLogic 12 EA 1 Product Documentation
temporal.axisGetStart

temporal.axisGetStart(
   axis-name as String
) as cts.reference

Summary

This function returns the range index used to define the start of the period by the named axis.

A TEMPORAL-AXISNOTFOUND exception is thrown if the axis does not exist.

Parameters
axis-name The name of the axis from which to return the range index.

Example

const temporal = require("/MarkLogic/temporal.xqy");
 
temporal.axisGetStart("system");

// Returns the range index reference used for the start of the period of the 
// axis named, "system." 
Powered by MarkLogic Server | Terms of Use | Privacy Policy