Loading TOC...

xdmp:database-assignment-policy

xdmp:database-assignment-policy(
   $database-id as xs:unsignedLong
) as element(db:assignment-policy)

Summary

This function returns the assignment policy for the specified database.

Parameters
$database-id The ID of the database.

Example

xquery version "1.0-ml";

xdmp:database-assignment-policy(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.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.