Loading TOC...

MarkLogic 9 Product Documentation
xdmp.databaseAssignmentPolicy

xdmp.databaseAssignmentPolicy(
   databaseId as String
) as Object

Summary

This function returns the assignment policy for the specified database.

Parameters
databaseId The ID of the database.

Example

xdmp.databaseAssignmentPolicy(xdmp.database())
=> returns the assignment policy for the database

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