cts.collectionReference( [options as String[]] ) as cts.reference
Creates a reference to the collection lexicon, for use as a parameter to cts:value-tuples. Since lexicons are implemented with range indexes, this function will throw an exception if the specified range index does not exist.
cts.collectionReference(); => cts.collectionReference([])
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.