xdmp:database-assignment-policy( $database-id as xs:unsignedLong ) as element(db:assignment-policy)
This function returns the assignment policy for the specified database.
Parameters | |
---|---|
$database-id | The ID of the database. |
xquery version "1.0-ml"; xdmp:database-assignment-policy(xdmp:database()) (: returns the assignment policy for the database :)