view.views

view.views(
   schema-name as String
) as Sequence

Summary

This function returns all of the view specifications in the named schema.

Parameters
schema-name The name of the schema specification containing the views to be returned.

Example

const view = require('/MarkLogic/views');

view.views('main');

// Returns all of the views in the 'main' schema.
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy