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

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.