framework docs
Database

db_list()

List all database connections from configuration

Lists all database connections defined in the configuration, showing the connection name, driver, host, and database name (if applicable).

Usage

db_list()

Value

Invisibly returns NULL after printing connection list

Examples

if (FALSE) {
# List all connections
db_list()
}