
tde.getView( schema as String, view as String ) as Object
This function returns a view's description using a schema and a view name.
| Parameters | |
|---|---|
| schema | The schema name. |
| view | The view name. |
tde.getView("Medical","Publications");
=>
{
"view": {
"id": "14910998190353932762",
"name": "Publications",
"schema": "Medical",
"viewLayout": "identical",
"columns": [
{
"column": {
"id": "11565230576730337039",
"name": "ID",
"scalarType": "long",
"nullable": 0
}
},
{
"column": {
"id": "3103479464860941160",
"name": "ISSN",
"scalarType": "string",
"nullable": 0
}
},
{
"column": {
"id": "16141727252897579172",
"name": "Volume",
"scalarType": "string",
"nullable": 0
}
}
]
}
}
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.