
view.remove( schema-name as String, view-name as String ) as null
This function removes the named view from the named schema specification.
| Parameters | |
|---|---|
| schema-name | The name of the schema containing the view to be removed. |
| view-name | The name of the view to be removed. |
const view = require('/MarkLogic/views');
view.remove('main', 'songs');
// Removes the 'songs' view from the 'main' schema.