mirror of
https://github.com/danog/postgres.git
synced 2024-11-29 20:19:10 +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;
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user