GObject.Object
Gda.Batch
Import line: | Gda = imports.gi.Gda; |
GIR File: | Gda-4.0.gir |
C documentation: | GdaBatch |
Class : | Batch |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
object : GObject.Object
read only
|
Gda.Batch | |
priv : Gda.BatchPrivate
read only
|
Gda.Batch |
Method / Constructor | Defined By | |
---|---|---|
new Gda.Batch
(Object properties)
Create a new Gda.Batch
Create a new Gda.Batch
|
||
add_statement
(Statement stmt)
:
none
Add stmt to the list of statements managed by batch.
Add stmt to the list of statements managed by batch. A GdaStatement object can be added multiple times to a GdaBatch object.
|
Gda.Batch | |
copy
()
:
Gda.Batch
Copy constructor
Copy constructor
|
Gda.Batch | |
Get a new GdaSet object which groups all the execution parameters which batch needs for all the statements it includes.
Get a new GdaSet object which groups all the execution parameters which batch needs for all the statements it includes. This new object is returned though out_params. Note that if batch does not need any parameter, then out_params is set to NULL.
|
Gda.Batch | |
get_statements
()
:
Array
Get a list of the GdaStatement objects contained in batch
Get a list of the GdaStatement objects contained in batch
|
Gda.Batch | |
remove_statement
(Statement stmt)
:
none
Removes stmt from the list of statements managed by batch.
Removes stmt from the list of statements managed by batch. If stmt is present several times in batch's statements' list, then only the first one is removed.
|
Gda.Batch | |
serialize
()
:
String
Creates a string representing the contents of batch.
Creates a string representing the contents of batch.
|
Gda.Batch |
Event | Defined By | |
---|---|---|
|
Gda.Batch |
Class / Namespace | Method / Signal / Properties |
---|---|
Gda.Connection
Method |
Executes all the statements contained in batch (in the order in which they were added to batch), and returns a list of GObject objects, at most one GObject for each statement; see gda_connection_statement_execute() for details about the returned objects.
|
Gda.SqlParser
Method |
Parse sql and creates a GdaBatch object which contains all the GdaStatement objects created while parsing (one object per SQL statement).
|
Gda.SqlParser
Method |
Parse filename's contents and creates a GdaBatch object which contains all the GdaStatement objects created while parsing (one object per SQL statement).
|