
pkg:database-configuration( $database as xs:string ) as element(db:package-database)
[DEPRECATED: use cma:generate-config and
cma:apply-config instead.]
| Parameters | |
|---|---|
| database | The name of the database. |
xquery version "1.0-ml";
import module namespace pkg = "http://marklogic.com/manage/package"
at "/MarkLogic/manage/package/package.xqy";
pkg:database-configuration("Documents")
(: Returns the configuration of the 'Documents' database. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.