op:schema-col( $schemaName as string?, $viewName as string?, $colName as string ) as map:map
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. |
xquery version "1.0-ml"; import module namespace op="http://marklogic.com/optic" at "/MarkLogic/optic.xqy"; op:from-view("main", "employees") => op:order-by(op:schema-col('main', 'employees', 'EmployeeID')) => op:result()
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.