Loading TOC...

MarkLogic Server 11.0 Product Documentation
temporal:axis-remove

temporal:axis-remove(
   $axis-name as xs:string
) as empty-sequence()

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

xquery version "1.0-ml"; 
 
import module namespace temporal = "http://marklogic.com/xdmp/temporal" 
      at "/MarkLogic/temporal.xqy";

temporal:axis-remove("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.