view:remove-by-id( $view-id as xs:unsignedLong ) as empty-sequence()
This function removes the view with the specified id.
Parameters | |
---|---|
view-id | The id of the view to be removed. |
xquery version "1.0-ml"; import module namespace view = "http://marklogic.com/xdmp/view" at "/MarkLogic/views.xqy"; view:remove-by-id(5423110979916486998) (: Remove the view with the specified id. :)