Loading TOC...

MarkLogic Server 11.0 Product Documentation
view:collection

view:collection() as xs:string

Summary

This function return the URI of the protected collection holding all the views.

Example

  xquery version "1.0-ml"; 
 
  import module namespace view = "http://marklogic.com/xdmp/view" 
      at "/MarkLogic/views.xqy";

  view:collection()
 
  (: Returns the URI of the protected collection holding all of the views. :)
     

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.