Loading TOC...

MarkLogic 12 EA 2 Product Documentation
xdmp.databaseIsRebalancerEnable

xdmp.databaseIsRebalancerEnable(
   databaseId as String
) as Boolean

Summary

This function returns the rebalancer enable setting for the specified database.

Parameters
databaseId The ID of the database.

Example

var dbId := xdmp.database("myDatabase");
xdmp.databaseIsRebalancerEnable(dbId)
// returns the rebalancer enable setting
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.