Class

PgsqlResult

Description

final class Pgsql.Result : GObject.Object
{
  /* No available fields */
}

No description available.

Ancestors

Instance methods

pgsql_result_get_affected_rows

Gets the number of rows affected by the command.

pgsql_result_get_binary_tuples

Checks if the result contains binary tuples.

pgsql_result_get_command_status

Gets the command status string (e.g. “INSERT”, “UPDATE”, etc.).

pgsql_result_get_error_field

Gets a specific error field from the result.

pgsql_result_get_error_message

Gets the error message associated with the result, if any.

pgsql_result_get_field_format

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

pgsql_result_get_field_modifier

Gets the type-specific modifier of a field.

pgsql_result_get_field_name

Gets the name of a field by index.

pgsql_result_get_field_number

Gets the index of a field by name.

pgsql_result_get_field_size

Gets the size in bytes of a field.

pgsql_result_get_field_type

Gets the type of a field.

pgsql_result_get_length

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

pgsql_result_get_n_fields

Gets the number of fields (columns) in the result.

pgsql_result_get_n_rows

Gets the number of rows in the result.

pgsql_result_get_oid

Gets the OID of the inserted row, if applicable.

pgsql_result_get_status

Gets the status of the result.

pgsql_result_get_value

Gets the value at the specified row and field.

pgsql_result_is_null

Checks if the value at the specified row and field is NULL.

pgsql_result_is_successful

Checks if the result indicates a successful operation.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PgsqlResultClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.