
dom:remove-pipeline( $domain-name as xs:string, $pipeline-id as xs:unsignedLong ) as empty-sequence()
Remove the association between a pipeline and the domain. An error is raised if the domain cannot be found. Only the association between the domain and the pipeline will be broken: the existing pipeline will not be deleted and may still be active in other domains.
| Parameters | |
|---|---|
| domain-name | The name of the domain to be changed. |
| pipeline-id | The pipeline to be removed from the domain. |
xquery version "1.0-ml";
import module namespace dom = "http://marklogic.com/cpf/domains"
at "/MarkLogic/cpf/domains.xqy";
import module namespace p = "http://marklogic.com/cpf/pipelines"
at "/MarkLogic/cpf/pipelines.xqy";
dom:remove-pipeline("Incoming", p:get("My Pipeline")/p:pipeline-id)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.