Parameter
|
Description
|
Usage
|
Valid Values
|
"datasourceId"
|
The ID of the data source
|
Required
|
The ID is auto-generated when the data source is created and cannot be changed.
|
"schemaName"
|
For data stores that support schemas, the name of a schema associated with the data source.
For data stores that do not support schemas, a dash (-) is returned.
|
Required
|
For data stores that support schemas, a valid schema name.
For data stores that do not support schemas, a dash (-) is returned.
|
"tableName"
|
The name of the table for which information is being retrieved
|
Required
|
A table name can contain only alphanumeric characters and the underscore character.
|
Property
|
Description
|
Valid Values
|
"name"
|
The name of the table for which information is being retrieved
|
A table name can contain only alphanumeric characters and the underscore character.
|
"hasPrimaryKey"
|
Specifies whether the table contains a primary key
|
true | false
If true, the table has a primary key.
If false, the table does not have a primary key.
|
"columns"
|
Provides a list of columns in the table. If the table has a primary key, this parameter identifies the column or columns that comprise the primary key.
|
A comma separated list of column objects
The name property specifies the column name.
The isPrimaryKey property is a Boolean. If true, the column is a primary key or comprises the primary key. If false, the column is not a primary key and the property is not returned. Note that the schema might specify more than one column to define the primary key.
|