gda.batch

Module for [Batch] class

Types 4

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Batch self() nothrowReturns `this`, for use in `with` statements.
BatchGidBuilder builder() static nothrowGet builder for [gda.batch.Batch] Returns: New builder object
glib.types.Quark errorQuark() static nothrow
void addStatement(gda.statement.Statement stmt) nothrowAdd stmt to the list of statements managed by batch. A #GdaStatement object can be added multiple times to a #GdaBatch object.
gda.batch.Batch copy() nothrowCopy constructor Returns: a the new copy of orig
bool getParameters(out gda.set.Set outParams)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.
gda.statement.Statement[] getStatements() nothrowGet a list of the #GdaStatement objects contained in batch Returns: a list of #GdaStatement which should not be modified.
void removeStatement(gda.statement.Statement stmt) nothrowRemoves 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.
string serialize() nothrowCreates a string representing the contents of batch. Returns: a string containing the serialized version of batch
gulong connectChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gobject.object.ObjectWrap))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gda.batch.Batch))) && Parameters!T.length < 3) nothrowConnect to `Changed` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GdaBatch object Returns: the new object

Fluent builder implementation template for gda.batch.Batch

Fluent builder for gda.batch.Batch

Methods
Batch build() nothrowCreate object from builder. Returns: New object
Constructors
this(GError * err)
this(Code code, string msg)