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

Latest version: pecl install openswoole-22.1.2 | composer require openswoole/core:22.1.5

Declaration

<?php OpenSwoole\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 September 1, 2022