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

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

Declaration

<?php OpenSwoole\Coroutine\PostgreSQL->numRows(resource $queryResult): int

Parameters

queryResult

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

Return

Returns an int of the total number of rows.


Description

Returns the number of rows from the SQL query.


Last updated on September 1, 2022