MarkLogic 9 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

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

temporal.axisRemove("system");

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