1
0
mirror of https://github.com/danog/postgres.git synced 2024-11-26 20:15:02 +01:00

fix connection string in readme example

This commit is contained in:
Sascha-Oliver Prolic 2020-07-28 16:05:28 -04:00 committed by Aaron Piotrowski
parent 09c2a42ff0
commit 7cf9d37033

View File

@ -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);