pkg:get-database-list( $pkgname as xs:string, [$start as xs:unsignedLong], [$pageLength as xs:unsignedLong] ) as element(list:database-list)
[DEPRECATED: use cma:generate-config
and
cma:apply-config
instead.]
xquery version "1.0-ml"; import module namespace pkg = "http://marklogic.com/manage/package" at "/MarkLogic/manage/package/package.xqy"; pkg:get-database-list("mypackage") (: Returns the names of the databases that have configurations in the package named, 'mypackage'.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.