Loading TOC...

MarkLogic 10 Product Documentation
sql.collatedStringCollation

sql.collatedStringCollation(
   val as sql.collatedString
) as String

Summary

Returns the collation of an sql.collatedString value.

This function is a built-in.

Parameters
val The sql:collatedString value.

Example

sql.collatedStringcollation(sql.collatedString("http://foo/bar", "http://marklogic.com/collation/codepoint"));
=> http://marklogic.com/collation/codepoint

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