cts:directory-query-depth( $query as cts:directory-query ) as xs:string
Returns the depth used to construct the specified query.
Parameters | |
---|---|
query | A query. |
let $query := cts:directory-query(("/reports/", "/analysis/")) return cts:directory-query-depth($query) => 1
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.