45 lines
910 B
Markdown
45 lines
910 B
Markdown
---
|
|
title: danog\MadelineProto\Db\Driver\Postgres: Postgres driver wrapper.
|
|
description:
|
|
|
|
---
|
|
# `danog\MadelineProto\Db\Driver\Postgres`
|
|
[Back to index](../../../../index.md)
|
|
|
|
> Author: Daniil Gentili <daniil@daniil.it>
|
|
|
|
|
|
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)
|