Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: acf6fc615d
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.296 kB
xquery version "1.0-ml";
let
$db := xdmp:get-request-field("db", "Documents"),
$xquery := xdmp:get-request-body("text")
return
try {
xdmp:eval($xquery, (), <options xmlns="xdmp:eval"><database>{xdmp:database($db)}</database></options>)
}
catch($e) {
$e
}
Jump to Line
Something went wrong with that request. Please try again.