op.schemaCol( schemaName as String, viewName as String, colName as String ) as columnIdentifier
Unambiguously identifies a column with the schema name, view name, and column name. Useful only for columns provided by a view.
Parameters | |
---|---|
schemaName | The name of the schema. |
viewName | The name of the view. |
colName | The name of the column. |
const op = require('/MarkLogic/optic'); op.fromView('main', 'employees') .orderBy(op.schemaCol('main', 'employees', 'EmployeeID')) .result();