Loading TOC...

MarkLogic 12 EA 2 Product Documentation
cts.entityDictionaryGet

cts.entityDictionaryGet(
   uri as String
) as cts.entityDictionary

Summary

Retrieve an entity dictionary previously cached in the database.

Parameters
uri The URI of an entity dictionary previously been saved in the database.

Usage Notes

If no dictionary exists with the specified URI, this function throws XDMP-NOSUCHDICT.

See Also

Example

// Assume you previously inserted an entity dictionary with the
// URI "/ontology/people", using entity.dictionaryLoad or
// entity.dictionaryInsert.

cts.entityDictionaryGet('/ontology/people');

// Returns an opaque cts.entityDictionary object suitable for use with
// functions that accept a cts.entityDictionary as input.

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