# GetDatabaseTableFields method

Lists the fields inside a table of a database for a ODBC, OLEDB or CUSTOM connection.

## Parameters

| Name | Description | Mandatory | Type |
| --- | --- | --- | --- |
| qConnectionId | Identifier of the connection. | Yes | String |
| qDatabase | Name of the database.<br>If *qDatabase* is not set then *qOwner* must be set. | No | String |
| qOwner | Owner of the database.<br>If *qOwner* is not set then *qDatabase* must be set. | No | String |
| qTable | Name of the table. | Yes | String |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qFields | List of the fields. | Array of [DataField](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/models-datafield.htm) |

## Access Control

`reload`