struct _GskDbiResultClass {
object_class;
(* affected_rows)
(GskDbiResult * result);
guint * (* fetch_lengths)
(GskDbiResult * result);
gchar ** (* fetch_row)
(GskDbiResult * result);
(* num_fields)
(GskDbiResult * result);
}; |
Base class for database result sets returned by gsk_dbh_query ().
Methods:
- affected_rows
(* affected_rows)
(GskDbiResult * result);
|
Returns the number of affected rows for insert/update queries. Select
queries return 0.
- GskDbiResult * result
The result.
- fetch_lengths
guint * (* fetch_lengths)
(GskDbiResult * result);
|
Returns the lengths of each column of the current (last returned from
fetch_row) row.
- GskDbiResult * result
The result.
- fetch_row
gchar ** (* fetch_row)
(GskDbiResult * result);
|
Fetch the next result row, or NULL if there are no more rows. Return value
is (not necessarily NULL-terminated) array of (NULL-terminated) strings, one
for each column. Use fetch_lengths to determine array length.
- GskDbiResult * result
The result.
- num_fields
(* num_fields)
(GskDbiResult * result);
|
Returns the number of columns in the result. Non-select queries return 0.
- GskDbiResult * result
The result.
Members:
- object_class
Parent class.