MarkLogic 12 EA 1 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. :)
Powered by MarkLogic Server | Terms of Use | Privacy Policy