pkg:delete( $pkgname as xs:string ) as empty-sequence()
[DEPRECATED: use cma:generate-config
and
cma:apply-config
instead.]
Parameters | |
---|---|
pkgname | The name of the package to delete. |
xquery version "1.0-ml"; import module namespace pkg = "http://marklogic.com/manage/package" at "/MarkLogic/manage/package/package.xqy"; pkg:delete("mypackage") (: Deletes the package named, 'mypackage'. :)