Pike v8.1 release 6

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()