Method
getDatabaseConnectorObjectSchema GET
Copy GET

Get the schema of an object in an database connector.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes databaseConnectorId str Unique string identifier for the database connector.
No objectName str Unique identifier for the object in the external system.
No fetchRawData bool If true, return unfiltered list of columns.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
result DatabaseConnectorSchema
KEY TYPE Description
tableName str The unique name of the table.
columns DatabaseConnectorColumn List of columns in the table.
KEY TYPE Description
name str The unique name of the column.
externalDataType str The data type of column in the external database system.

Exceptions:

TYPE WHEN
DataNotFoundError

databaseConnectorId is not found.

Language: