MarkLogic 9 Product Documentation
map:set-javascript-by-ref

map:set-javascript-by-ref(
   $map as map:map,
   $key as xs:boolean
) as empty-sequence()

Summary

If true is specified, sets a map:map to be passed to JavaScript by reference. By default, a map:map is passed to JavaScript by value.

Parameters
map A map.
key True or false.

Example

  map:set-javascript-by-ref($table, fn:true())
  => ()
Powered by MarkLogic Server | Terms of Use | Privacy Policy