temporal.axisRemove( axis-name as String ) as null
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. |
var temporal = require("/MarkLogic/temporal.xqy"); temporal.axisRemove("system"); // Removes the "system" axis from the database.