MarkLogic 12 EA 1 Product Documentation
map:get

map:get(
   $map as map:map,
   $key as xs:string
) as item()*

Summary

Get a value from a map.

Parameters
map A map.
key A key.

Example

let $table := map:map()
let $_ := map:put($table, "some-key", <info>45683</info>)
return map:get($table, "some-key")
=> <info>45683</info>
Powered by MarkLogic Server | Terms of Use | Privacy Policy