Swoole\Coroutine\PostgreSQL->fetchAssoc(...)

4.x is outdated, please check the latest version 22.x


Latest version: pecl install openswoole-22.1.2

Declaration

<?php Swoole\Coroutine\PostgreSQL->fetchAssoc(resource $queryResult, int $row): array

Parameters

queryResult

The result of a executed SQL query which will be a PHP resource variable type.

row

The number of the row you want to extract as an associative array.

Return

Returns an associative array based on the row you selected, extracted from the results.


Description

Extract a single row as an associative array.


Last updated on August 31, 2022