MarkLogic 12 EA 1 Product Documentation
cts.collectionReferencects.collectionReference(
[options as String[]]
) as cts.reference
Summary
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.
Parameters |
options |
Options. The default is ().
Options include:
- "nullable"
- Allow null values in tuples reported from cts:value-tuples when
using this lexicon.
- "unchecked"
- Do not check the definition against the context database.
|
Example
cts.collectionReference();
=>
cts.collectionReference([])
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.