MarkLogic Server 11.0 Product Documentation
view.collection

view.collection() as String

Summary

This function return the URI of the protected collection holding all the views.

Example

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

  view.collection();
 
// Returns the URI of the protected collection holding all of the views.
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy