Method

PgsqlResultget_value

Declaration

const char*
pgsql_result_get_value (
  PgsqlResult* self,
  guint row,
  guint field
)

Description

Gets the value at the specified row and field.

Parameters

row

Type: guint

The row index.

field

Type: guint

The field index.

Return value

Type: const char*

The value, or NULL if NULL or out of bounds.

The returned data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.