Skip to content

Commit 15f8403

Browse files
committed
Update readme
1 parent 1e1155d commit 15f8403

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ More examples can be found in the [`examples`](examples) directory.
3535
```php
3636
use Amp\Postgres;
3737
use Amp\Postgres\ConnectionConfig;
38+
use Amp\Sql\Statement;
3839

3940
Amp\Loop::run(function () {
4041
$config = ConnectionConfig::fromString("host=localhost user=postgres dbname=test");
4142

4243
/** @var Postgres\Pool $pool */
4344
$pool = Postgres\pool($config);
4445

45-
/** @var Postgres\Statement $statement */
46+
/** @var Statement $statement */
4647
$statement = yield $pool->prepare("SELECT * FROM test WHERE id = :id");
4748

4849
/** @var Postgres\ResultSet $result */

0 commit comments

Comments
 (0)