xdmp:database-is-rebalancer-enable( $database-id as xs:unsignedLong ) as xs:boolean
This function returns the rebalancer enable setting for the specified database.
Parameters | |
---|---|
$database-id | The ID of the database. |
xquery version "1.0-ml"; let $dbid := admin:database-get-id($config, "myDatabase") return xdmp:database-is-rebalancer-enable($dbid) (: returns the rebalancer enable setting :)