Loading TOC...

tde.getView

tde.getView(
   schema as String,
   view as String
) as Object

Summary

This function returns a view's description using a schema and a view name.

Parameters
schema The schema name.
view The view name.

Example

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 iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.