Loading TOC...

MarkLogic 12 EA 1 Product Documentation
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.     

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.