info:database-delete( $database-name as xs:string, [$delete-data as xs:boolean?] ) as empty-sequence()
[DEPRECATED] This function deletes the specified database and its forest.
xquery version "1.0-ml"; import module namespace info = "http://marklogic.com/appservices/infostudio" at "/MarkLogic/appservices/infostudio/info.xqy"; info:database-delete("testDB") (: Deletes the testDB database and forest. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.