You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for this library. Really appreciate your efforts.
It's not an issue/bug per se, but rather a question on a specific implementation scenario.
I have an interface for an SQL client which under the hood uses React\MySQL\ConnectionInterface or PgAsync\Client.
The way PgAsync\Client is built, the expression await($this->sqlClient->query($sql)->toPromise()) will only return the very first record, while --for the needs of the interface--, I need them all [the records].
I cannot figure out how to achieve such a behaviour: A way of fetching all records in a synchronous manner by using React\Async\await with the PgAsync\Client::toPromise() method.
I hope it makes sense what I wrote.
Best Regards
The text was updated successfully, but these errors were encountered:
Hi there,
Thanks for this library. Really appreciate your efforts.
It's not an issue/bug per se, but rather a question on a specific implementation scenario.
I have an interface for an SQL client which under the hood uses
React\MySQL\ConnectionInterface
orPgAsync\Client
.The way
PgAsync\Client
is built, the expressionawait($this->sqlClient->query($sql)->toPromise())
will only return the very first record, while --for the needs of the interface--, I need them all [the records].I cannot figure out how to achieve such a behaviour: A way of fetching all records in a synchronous manner by using
React\Async\await
with thePgAsync\Client::toPromise()
method.I hope it makes sense what I wrote.
Best Regards
The text was updated successfully, but these errors were encountered: