Create and run a batch using a statement and a sequence of parameters.
Batch contains two collections of parameters. One is the current batch,
and the other is a list of batches. Methods from ParameterizedQuery
act on the current batch. The current batch is added to the list of batches
using #add, #addParameters, #addProduct, or
#addRecord. The add methods perform a union with the current parameter
list and append the result to the list of batches. The current parameter list
is not altered.
If you don't want to use the concept of default parameters for the batches,
simply disregard the on methods from ParameterizedQuery, and use only the
add methods.
Create and run a batch using a statement and a sequence of parameters.
Batch contains two collections of parameters. One is the current batch, and the other is a list of batches. Methods from ParameterizedQuery act on the current batch. The current batch is added to the list of batches using
#add
,#addParameters
,#addProduct
, or#addRecord
. Theadd
methods perform a union with the current parameter list and append the result to the list of batches. The current parameter list is not altered.If you don't want to use the concept of default parameters for the batches, simply disregard the
on
methods from ParameterizedQuery, and use only theadd
methods.