Loading TOC...

MarkLogic 10 Product Documentation
p:get-by-id

p:get-by-id(
   $pipeline-id as xs:unsignedLong
) as element(p:pipeline)

Summary

Find a particular pipeline.

Parameters
pipeline-id The ID of the pipeline to get. An error is raised if no such pipeline exists.

Example

  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 iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.