We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2789fc8 commit 2768e44Copy full SHA for 2768e44
example/stream.php
@@ -58,15 +58,9 @@
58
59
// Without QueryBuilder
60
$dbFactory->streamQuery("select id from Users where id > 1")
61
- ->onError(function (Exception $result) {
62
- echo "Error " . $result->getMessage() . PHP_EOL;
63
- })
64
->onData(function ($result) {
65
echo "New Row Data:" . json_encode($result) . PHP_EOL;
66
})
67
- ->onClosed(function () {
68
- echo "Task Finished";
69
70
->run();
71
72
$loop->addPeriodicTimer(1, function () {
0 commit comments