MarkLogic 12 EA 1 Product Documentation
sql.collatedString

sql.collatedString(
   string as String,
   collationURI as String
) as rdf.collatedString

Summary

Returns an rdf.collatedString value with the given value and collation tag. The rdf.collatedString type extends String, and represents a collation tagged string in RDF.

This function is a built-in.

Parameters
string The lexical value.
collationURI The collation URI.

Example

sql.collatedString("http://foo/bar", "http://marklogic.com/collation/fr/S1/EO")
=> an rdf.collatedString representing "http://foo/bar" in english

Powered by MarkLogic Server | Terms of Use | Privacy Policy