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. |
const temporal = require("/MarkLogic/temporal.xqy"); temporal.axisRemove("system"); // Removes the "system" axis from the database.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.