Table of Contents

IDBBatchStatement.ExecuteBatch Method

Executes the statement as a batch over multiple rows of parameters.

Syntax

Unit: Aurelius.Drivers.Interfaces

function IDBBatchStatement.ExecuteBatch(Params: TEnumerable<TDBParam>; BatchSize: Integer): Integer; virtual; abstract;

Parameters

<-> Parameter Type Description
Params TEnumerable<TDBParam> The parameters for the statement. Each TDBParam must have its ParamValues array populated with one value per row.
BatchSize Integer The number of rows to process in the batch.

Returns

The total number of rows affected.

See also