Loading TOC...

MarkLogic 12 EA 1 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. 

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.