temporal.collectionRemove

temporal.collectionRemove(
   collection-name as String
) as null

Summary

This function removes the named temporal collection from the Schemas database.

Parameters
collection-name The name of the collection to be removed.

Example

declareUpdate();
const temporal = require("/MarkLogic/temporal.xqy");

temporal.collectionRemove("temporalCollection");

// Removes the "temporalCollection" collection.     
Powered by MarkLogic Server | Terms of Use | Privacy Policy