Gda.Row¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
w |
Number of values in the row |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
object |
r |
Class Details¶
- class Gda.Row(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(count)¶
- Parameters:
count (
int
) – number ofGObject.Value
in the newGda.Row
.- Returns:
a newly allocated
Gda.Row
object.- Return type:
Creates a
Gda.Row
which can hold countGObject.Value
values.
- get_value(num)¶
- Parameters:
num (
int
) – field index.- Returns:
a pointer to the
GObject.Value
in the position num of self.- Return type:
Gets a pointer to a
GObject.Value
stored in aGda.Row
.This is a pointer to the internal array of values. Don’t try to free or modify it (modifying is reserved to database provider’s implementations).
- invalidate_value(value)¶
- Parameters:
value (
GObject.Value
) – aGObject.Value
belonging to self (obtained withGda.Row.get_value
()).
Marks value as being invalid. This method is mainly used by database providers’ implementations to report any error while reading a value from the database.
- invalidate_value_e(value, error)¶
- Parameters:
value (
GObject.Value
) – aGObject.Value
belonging to self (obtained withGda.Row.get_value
()).error (
GLib.Error
orNone
) – the error which lead to the invalidation
Marks value as being invalid. This method is mainly used by database providers’ implementations to report any error while reading a value from the database.
New in version 4.2.10.
- value_is_valid(value)¶
- Parameters:
value (
GObject.Value
) – aGObject.Value
belonging to self (obtained withGda.Row.get_value
()).- Returns:
True
if value is valid- Return type:
Tells if value has been marked as being invalid by
Gda.Row.invalidate_value
(). This method is mainly used by database providers’ implementations to report any error while reading a value from the database.
- value_is_valid_e(value)¶
- Parameters:
value (
GObject.Value
) – aGObject.Value
belonging to self (obtained withGda.Row.get_value
()).- Raises:
- Returns:
True
if value is valid- Return type:
Tells if value has been marked as being invalid by
Gda.Row.invalidate_value
(). This method is mainly used by database providers’ implementations to report any error while reading a value from the database.New in version 4.2.10.