Method

PgsqlResultget_length

Declaration

int
pgsql_result_get_length (
  PgsqlResult* self,
  guint row,
  guint field
)

Description

Gets the length in bytes of the value at the specified row and field.

Parameters

row

Type: guint

The row index.

field

Type: guint

The field index.

Return value

Type: int

The length, or -1 if NULL or out of bounds.