
view.getBindings( schema-name as String, view-name as String ) as Object
This function generates a binding map suitable for use with
cts:parse from the named view.
| Parameters | |
|---|---|
| schema-name | The name of the schema. |
| view-name | The name of the view. |
const view = require('/MarkLogic/views');
view.getBindings('main', 'employees');
// Returns binging map from the "employees" view.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.