
xdmp.databaseIsRebalancerEnable( databaseId as String ) as Boolean
This function returns the rebalancer enable setting for the specified database.
| Parameters | |
|---|---|
| databaseId | The ID of the database. |
var dbId := xdmp.database("myDatabase");
xdmp.databaseIsRebalancerEnable(dbId)
// returns the rebalancer enable setting
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.