xdmp:database-assignment-policy

xdmp:database-assignment-policy(
   $database-id as xs:unsignedLong
) as element(db:assignment-policy)

Summary

This function returns the assignment policy for the specified database.

Parameters
$database-id The ID of the database.

Example

xquery version "1.0-ml";

xdmp:database-assignment-policy(xdmp:database())
(: returns the assignment policy for the database :)
Powered by MarkLogic Server | Terms of Use | Privacy Policy