mirror of
https://github.com/danog/postgres.git
synced 2024-11-26 12:04:50 +01:00
fix connection string in readme example
This commit is contained in:
parent
09c2a42ff0
commit
7cf9d37033
@ -38,7 +38,7 @@ use Amp\Postgres\ConnectionConfig;
|
|||||||
use Amp\Sql\Statement;
|
use Amp\Sql\Statement;
|
||||||
|
|
||||||
Amp\Loop::run(function () {
|
Amp\Loop::run(function () {
|
||||||
$config = ConnectionConfig::fromString("host=localhost user=postgres dbname=test");
|
$config = ConnectionConfig::fromString("host=localhost user=postgres db=test");
|
||||||
|
|
||||||
/** @var Postgres\Pool $pool */
|
/** @var Postgres\Pool $pool */
|
||||||
$pool = Postgres\pool($config);
|
$pool = Postgres\pool($config);
|
||||||
|
Loading…
Reference in New Issue
Block a user