Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Fetches all rows from a result as an array
<?php pg_fetch_all(PgSql\Result $result, int $mode = PGSQL_ASSOC): array