Join 4,000+ others and never miss out on new tips, tutorials, and more.
4.x is outdated, please check the latest version 22.x
Latest version:
pecl install openswoole-22.1.2
<?php Swoole\Coroutine\PostgreSQL->fetchAll(resource $queryResult, $resultType = OPENSWOOLE_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