| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]
Postgres
Postgres.postgres_result

# Method Postgres.postgres_result()->fetch_row()

Method fetch_row

  `array(string) fetch_row()`

Description

  Returns an array with the contents of the next row in the result. Advances the row cursor to the next row. Returns 0 at end of table.

Bugs

  Since there's no generic way to know whether a type is numeric or not in Postgres, all results are returned as strings. You can typecast them in Pike to get the numeric value.

See also

  seek()