Loading TOC...

MarkLogic 9 Product Documentation
map:delete

map:delete(
   $map as map:map,
   $key as xs:string
) as empty-sequence()

Summary

Delete a value from a map.

Parameters
map A map.
key A key.

Example

  map:delete($table, "some-key")
  => ()

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