addColumnInt32 method

BulkInsertBuilder addColumnInt32(
  1. String name,
  2. Int32List values, {
  3. bool nullable = false,
  4. List<bool>? isNull,
})
inherited

Adds an i32 column from a typed Int32List (columnar mode).

When nullable is true, pass isNull with one flag per row (true = SQL NULL). values at null rows are ignored on the wire (written as zero).

Do not mutate values after calling this method.

Implementation

BulkInsertBuilder addColumnInt32(
  String name,
  Int32List values, {
  bool nullable = false,
  List<bool>? isNull,
}) {
  _ensureColumnarApis();
  _registerColumnarColumn(
    BulkColumnSpec(
      name: name,
      colType: BulkColumnType.i32,
      nullable: nullable,
    ),
    _ColumnarInt32Data(values, isNull),
    isNull,
  );
  return _self;
}