MarkLogic Server 11.0 Product Documentation
temporal.axisRemove

temporal.axisRemove(
   axis-name as String
) as null

Summary

This function removes an axis definition from the schema database.

A TEMPORAL-AXISINUSE exception is thrown if the named axis is referred to by a collection.

Parameters
axis-name The name of the axis to be deleted.

Example

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

temporal.axisRemove("system");

// Removes the "system" axis from the database. 
Powered by MarkLogic Server | Terms of Use | Privacy Policy