
xdmp:database-encryption-key-id( $database-id as xs:unsignedLong ) as xs:string
Returns the encryption key ID for the database identified by database-id
| Parameters | |
|---|---|
| database-id | The ID of the database. |
xquery version "1.0-ml";
let $dbid := xdmp:database("Documents")
return xdmp:database-encryption-key-id($dbid)
==> 4ba7bc6a-dbd6-4d5f-b573-f874c72c0c79
(: returns the encryption key ID:)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.