MarkLogic 9 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" )
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy