Loading TOC...

cts.directoryQueryDepth

cts.directoryQueryDepth(
   query as cts.directoryQuery
) as String

Summary

Returns the depth used to construct the specified query.

Parameters
query A query.

Example

const query = cts.directoryQuery(["/reports/", "/analysis/"]);
cts.directoryQueryDepth(query);
  => 1

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