Loading TOC...

MarkLogic Server 11.0 Product Documentation
dom:remove

dom:remove(
   $domain-name as xs:string
) as empty-sequence()

Summary

Remove the domain and any associated triggers. An error is raised if no such domain exists.

Parameters
domain-name The name of the domain to remove.

Example

  xquery version "1.0-ml";
  import module namespace dom = "http://marklogic.com/cpf/domains" 
		  at "/MarkLogic/cpf/domains.xqy";

  dom:remove( "Incoming" )
  

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