cts.directoryQueryDepth( query as cts.directoryQuery ) as String
Returns the depth used to construct the specified query.
Parameters | |
---|---|
query | A query. |
const query = cts.directoryQuery(["/reports/", "/analysis/"]); cts.directoryQueryDepth(query); => 1
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.