Loading TOC...

xdmp:hash64

xdmp:hash64(
   $string as xs:string
) as xs:unsignedLong

Summary

Returns the 64-bit hash of a string.

Parameters
string The string to be hashed.

Example

xdmp:hash64("/a/b[1]/c")
=> 5082244643751628547

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