
p:get-by-id( $pipeline-id as xs:unsignedLong ) as element(p:pipeline)
Find a particular pipeline.
| Parameters | |
|---|---|
| pipeline-id | The ID of the pipeline to get. An error is raised if no such pipeline exists. |
xquery version "1.0-ml";
import module namespace p = "http://marklogic.com/cpf/pipelines"
at "/MarkLogic/cpf/pipelines.xqy";
import module namespace dom = "http://marklogic.com/cpf/domains"
at "/MarkLogic/cpf/domains.xqy";
p:get-by-id( dom:get("Default Domain")/dom:pipeline[1] )
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.