Initializer
Insert(String sql)
Inherited Attributes
Attributes inherited from: Object
Methods
executeSource Codeshared [Integer, Row[]] execute(Object* arguments)

Execute this statement with the given arguments to its parameters, returning number of rows inserted, and the generated keys, if any.

executeBatchSource Codeshared void executeBatch({Object[]*} batchArguments, Integer maxBatchSize = ...)

Execute this statement multiple times, as a batch insert, once for each given sequence of arguments, returning a sequence containing the numbers of rows affected by each insert in the batch.

Parameters:
  • maxBatchSize = 250

    The maximum number of inserts that will be batched into memory before being sent to the database.

    • maximum batch size must be strictly positive

Inherited Methods
Methods inherited from: Object