
plugin:uninstall( $scope as xs:string, $pid as xs:string? ) as empty-sequence()
This function removes a named plugin or set of plugins from the extensions database.
xquery version "1.0-ml";
import module namespace plugin = "http://marklogic.com/extension/plugin"
at "/MarkLogic/plugin/plugin.xqy";
plugin:uninstall("marklogic.appservices", "collector-test")
(: Uninstalls the 'collector-test' plugin located in
/Assets/plugins/marklogic/appservices from the Extensions database. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.