Method

PgsqlResultget_field_format

Declaration

int
pgsql_result_get_field_format (
  PgsqlResult* self,
  guint field
)

Description

Gets the format code (0=text, 1=binary) of a field.

Parameters

field

Type: guint

The field index.

Return value

Type: int

The format code.