view.removeColumn( schema-name as String, view-name as String, column-name as String ) as null
This function removes a column specification from the named view in the named schema.
const view = require('/MarkLogic/views'); view.removeColumn('main', 'songs', 'year'); // Removes the 'year' column from the 'songs' view in the 'main' schema.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.