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