pkg:delete

pkg:delete(
   $pkgname as xs:string
) as empty-sequence()

Summary

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

Deletes the named package.

Parameters
pkgname The name of the package to delete.

Example


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