\Bitrix\Main\Data\Connection|null public
\Bitrix\Main\Data\ConnectionPool::getConnection(
string $name = ""
);
This non-static method returns database connection by its name. Creates new connection, when required.
Parameters
Parameter | Description | Version |
$name | Connection name. | |
Examples