Loading TOC...

MarkLogic 12 EA 2 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.