Join 4,000+ others and never miss out on new tips, tutorials, and more.
pecl install openswoole-22.0.0 | composer require openswoole/core:22.1.2
<?php OpenSwoole\Coroutine\PostgreSQL->fetchAll(resource $queryResult, $resultType = OpenSwoole\Constant::PGSQL_ASSOC):? array
The result of a executed SQL query which will be a PHP resource variable type.
By default it will return a associative array with the field name as the key index. See the description for other options. This controls how data is returned from the resource.
Returns an array of results.
Fetch all the data from a SQL query result. The type will be a PHP resource.
Return Array Options