diff --git a/README.md b/README.md index 22565f7..8d0af6d 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ use Amp\Postgres\ConnectionConfig; use Amp\Sql\Statement; 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 */ $pool = Postgres\pool($config);