We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e1155d commit 15f8403Copy full SHA for 15f8403
README.md
@@ -35,14 +35,15 @@ More examples can be found in the [`examples`](examples) directory.
35
```php
36
use Amp\Postgres;
37
use Amp\Postgres\ConnectionConfig;
38
+use Amp\Sql\Statement;
39
40
Amp\Loop::run(function () {
41
$config = ConnectionConfig::fromString("host=localhost user=postgres dbname=test");
42
43
/** @var Postgres\Pool $pool */
44
$pool = Postgres\pool($config);
45
- /** @var Postgres\Statement $statement */
46
+ /** @var Statement $statement */
47
$statement = yield $pool->prepare("SELECT * FROM test WHERE id = :id");
48
49
/** @var Postgres\ResultSet $result */
0 commit comments