Postgres module

Rows

structsince 0.27.0Source

The result of query: it owns the received data, and for rows hands out one row at a time. Strings and byte slices in a row point into that data and stay valid until free_rows.

Fields

result: Result
map: [] s64
For a hand-written row type (query_as): the column behind each field, in field order.
error: Pg_Error
Set when a row failed to decode: the loop stops, and the error is here.

See also