# GetDatabaseTables method

Lists the tables inside 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 |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qTables | List of the tables. | Array of [DataTable](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/EngineJSONAPI/Content/models-datatable.htm) |

## Access Control

`reload`