
tde:get-view( $schema as xs:string, $view as xs:string ) as map:map
This function returns a view's description using a schema and a view name.
| Parameters | |
|---|---|
| schema | The schema name. |
| view | The view name. |
xquery version "1.0-ml";
tde:get-view("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
}
}
]
}
}