Skip to content

Commit

Permalink
fix connection string in readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic authored and trowski committed Aug 1, 2020
1 parent 09c2a42 commit 7cf9d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7cf9d37

Please sign in to comment.