mixed pq\Result::fetchRow([int $fetch_type = pq\Result::$fetchType])

Iteratively fetch a row.

Params:

Returns:

Throws:

Example:

exec("SELECT id, name, email FROM accounts WHERE email LIKE '_@%'"); while (list($id, $name, $email) = $result->fetchRow()) { echo "ID: {$id}\n"; echo "Name: {$name}\n"; echo "Mail: {$email}\n\n"; } } catch (\pq\Exception $e) { echo $e->getMessage(), "\n"; } ?>