
view.field( name as String ) as element(view.field)
This function constructs a new element-style field specification for the named field.
| Parameters | |
|---|---|
| name | The name of the field. |
const view = require('/MarkLogic/views');
view.field('Employee');
// Constructs and element field specification for the "Employee" field.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.