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.Valuein the newGda.Row.- Returns:
 a newly allocated
Gda.Rowobject.- Return type:
 
Creates a
Gda.Rowwhich can hold countGObject.Valuevalues.
- get_value(num)¶
 - Parameters:
 num (
int) – field index.- Returns:
 a pointer to the
GObject.Valuein the position num of self.- Return type:
 
Gets a pointer to a
GObject.Valuestored 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.Valuebelonging 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.Valuebelonging to self (obtained withGda.Row.get_value()).error (
GLib.ErrororNone) – 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.Valuebelonging to self (obtained withGda.Row.get_value()).- Returns:
 Trueif 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.Valuebelonging to self (obtained withGda.Row.get_value()).- Raises:
 - Returns:
 Trueif 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.