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
pecl install openswoole-22.0.0
<?php Swoole\Coroutine\PostgreSQL->affectedRows(resource $queryResult): int
The result of a executed SQL query which will be a PHP resource variable type.
int of the total affected rows by the query.
Returns the number of affected records from the SQL query.