Passing a sequence to xdmp:eval()

Author: Dave Cassel  |  Category: Software Development

When using MarkLogic Server, you’ll sometimes need to execute a command against a different database than the one associated with your application. Enter the xdmp:eval() function. eval() lets you execute any code you can put into a string. Among its several options is <database/>, allowing you to execute a command against a different database. As […]