# GetDatabasesFromConnectionString method

Lists the databases in a ODBC, OLEDB or CUSTOM data source.

## Parameters

| Name | Description | Mandatory | Type |
| --- | --- | --- | --- |
| qConnection | Information about the connection. | Yes | [Connection](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/models-connection.htm) |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qDatabases | List of the databases in the connection. | Array of [Database](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/models-database.htm) |

## Access Control

`reload`

## See also

[List the databases of a ODBC, OLEDB or CUSTOM connection](https://help.qlik.com/en-US/sense-developer/November2025/csh/engineapi/list-databases-Odbc-Oledb-custom-connection)