cts:directory-query-depth

cts:directory-query-depth(
   $query as cts:directory-query
) as xs:string

Summary

Returns the depth used to construct the specified query.

Parameters
query A query.

Example

let $query := cts:directory-query(("/reports/", "/analysis/"))
return
cts:directory-query-depth($query)
  => 1
Powered by MarkLogic Server | Terms of Use | Privacy Policy