--- title: danog\MadelineProto\Db\Driver\Postgres: Postgres driver wrapper. description: --- # `danog\MadelineProto\Db\Driver\Postgres` [Back to index](../../../../index.md) > Author: Daniil Gentili Postgres driver wrapper. ## Method list: * `getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator<\Amp\Postgres\Pool>` ## Methods: ### `getConnection(string $host, int $port, string $user, string $password, string $db, int $maxConnections, int $idleTimeout): \Generator<\Amp\Postgres\Pool>` Parameters: * `$host`: `string` * `$port`: `int` * `$user`: `string` * `$password`: `string` * `$db`: `string` * `$maxConnections`: `int` * `$idleTimeout`: `int` #### See also: * `\Amp\Postgres\Pool` * `\Generator` --- Generated by [danog/phpdoc](https://phpdoc.daniil.it)