Loading TOC...

MarkLogic Server 11.0 Product Documentation
view.schemaGet

view.schemaGet(
   schema-name as String
) as element(view.schema)

Summary

This function returns the named schema specification document.

Parameters
schema-name The name of the schema specification to return.

Example

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

view.schemaGet('main');
  
// Return the schema, named 'main'.
   

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.