Gda.RepetitiveStatement¶
- Subclasses:
 None
Methods¶
- Inherited:
 - Structs:
 
class  | 
  | 
  | 
|
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/co  | 
Statement to Execute  | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent_instance  | 
r  | 
Class Details¶
- class Gda.RepetitiveStatement(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod new(stmt)¶
 - Parameters:
 stmt (
Gda.Statement) – aGda.Statementobject- Returns:
 a new
Gda.RepetitiveStatementobject- Return type:
 
Creates a new
Gda.RepetitiveStatementobject which, when executed, will execute stmt once for all the values set which will have been defined usingGda.RepetitiveStatement.append_set(). UseGda.Connection.repetitive_statement_execute() to actually execute it.New in version 4.2.
- append_set(values, make_copy)¶
 - Parameters:
 - Returns:
 a new
Gda.RepetitiveStatementobject- Return type:
 
Specifies that self be executed one time with the values contained in values.
A new
Gda.Setto be used as the values argument can be obtained usingGda.RepetitiveStatement.get_template_set().New in version 4.2.
- get_all_sets()¶
 - Returns:
 a new
GLib.SListofGda.Setobjects (free with g_slist_free()).- Return type:
 [
Gda.Set]
Get all the values sets which will have been added using
Gda.RepetitiveStatement.append_set().New in version 4.2.
- get_template_set(set)¶
 - Parameters:
 set (
Gda.Set) – a place to store the returned template set- Raises:
 - Returns:
 - Return type:
 
Gets a new
Gda.Setobject with the parameters used by the template statement in the self object.Use this object with
Gda.RepetitiveStatement.append_set().New in version 4.2.
Property Details¶
- Gda.RepetitiveStatement.props.statement¶
 - Name:
 statement- Type:
 - Default Value:
 - Flags:
 
Statement to Execute