Loading TOC...

cts:registered-query-ids

cts:registered-query-ids(
   $query as cts:registered-query
) as xs:unsignedLong*

Summary

Returns the registered query identifiers used to construct the specified query.

Parameters
$query A query.

Example

let $query := cts:registered-query(1234567890123456,"unfiltered")
return
cts:registered-query-ids($query)
  => 1234567890123456

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