Loading TOC...

cts.jsonPropertyScopeQueryQuery

cts.jsonPropertyScopeQueryQuery(
   query as cts.jsonPropertyScopeQuery
) as cts.query

Summary

Returns the query used to construct the property scope query.

Parameters
query A query.

Example

const query = cts.jsonPropertyScopeQuery(
              "help",
              cts.wordQuery("wanted");
cts.jsonPropertyScopeQueryQuery(query);

  => cts:word-query("wanted", ("lang=en"), 1)

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