Skip to content

Instantly share code, notes, and snippets.

@peterskim12
Created November 6, 2013 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterskim12/7343494 to your computer and use it in GitHub Desktop.
Save peterskim12/7343494 to your computer and use it in GitHub Desktop.
Visibility of updates in MarkLogic transactions
let $_ := xdmp:document-insert('/test/test1.xml', <root/>)
return if (fn:doc-available('/test/test1.xml')) then "YES" else "NO"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment