
view.schemaGet( schema-name as String ) as element(view.schema)
This function returns the named schema specification document.
| Parameters | |
|---|---|
| schema-name | The name of the schema specification to return. |
const view = require('/MarkLogic/views');
view.schemaGet('main');
// Return the schema, named 'main'.