gda.batch
Module for [Batch] class
Types 4
classBatch : gobject.object.ObjectWrap
Methods
BatchGidBuilder builder()Get builder for [gda.batch.Batch] Returns: New builder objectvoid addStatement(gda.statement.Statement stmt)Add 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()Copy constructor Returns: a the new copy of origbool 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()Get 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)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.string serialize()Creates a string representing the contents of batch. Returns: a string containing the serialized version of batchgulong 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)Connect to `Changed` signal.classBatchException : ErrorWrap