Loading TOC...

MarkLogic Server 11.0 Product Documentation
xdmp:database-encryption-at-rest

xdmp:database-encryption-at-rest(
   $database-id as xs:unsignedLong
) as xs:string

Summary

Returns the encryption at rest setting for the database identified by database-id

Parameters
database-id The ID of the database.

Example

xquery version "1.0-ml";
let $dbid := xdmp:database("Documents")
return xdmp:database-encryption-at-rest($dbid)
==> on
(: returns the encryption at rest setting :)

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