MarkLogic 9 Product Documentation
pkg:database-configuration

pkg:database-configuration(
   $database as xs:string
) as element(db:package-database)

Summary

[DEPRECATED: use cma:generate-config and cma:apply-config instead.]

Returns the configuration (in XML) of the named database.

Parameters
database The name of the database.

Example


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. :)
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy