MarkLogic 12 EA 1 Product Documentation
cts.fieldValueQueryFieldName

cts.fieldValueQueryFieldName(
   query as cts.fieldValueQuery
) as Sequence

Summary

Returns the names used to construct the specified cts:field-value-query.

Parameters
query A query.

Example

const query = cts.fieldValueQuery("myField", "choice of law");
cts.fieldValueQueryFieldName(query);

=> "myField"
Powered by MarkLogic Server | Terms of Use | Privacy Policy