dom:remove( $domain-name as xs:string ) as empty-sequence()
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. |
xquery version "1.0-ml"; import module namespace dom = "http://marklogic.com/cpf/domains" at "/MarkLogic/cpf/domains.xqy"; dom:remove( "Incoming" )