Loading TOC...

MarkLogic 12 EA 2 Product Documentation
cts.jsonPropertyWordQueryPropertyName

cts.jsonPropertyWordQueryPropertyName(
   query as cts.jsonPropertyWordQuery
) as Sequence

Summary

Returns the name used to construct the specified query.

Parameters
query A query.

Example

  const query = cts.jsonPropertyWordQuery("prop", "choice of law");
  cts.jsonPropertyWordQueryPropertyName(query);
  => "prop"

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