MarkLogic 12 EA 1 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.
Powered by MarkLogic Server | Terms of Use | Privacy Policy