bulkInsertArray method

int bulkInsertArray(
  1. int connectionId,
  2. String table,
  3. List<String> columns,
  4. Uint8List dataBuffer,
  5. int rowCount,
)

Performs a bulk insert operation.

Inserts multiple rows into table using the specified columns. The dataBuffer contains the data as a binary buffer created by BulkInsertBuilder.build().

The rowCount specifies how many rows are in dataBuffer. Returns the number of rows inserted on success, 0 on failure.

Implementation

int bulkInsertArray(
  int connectionId,
  String table,
  List<String> columns,
  Uint8List dataBuffer,
  int rowCount,
) =>
    _native.bulkInsertArray(
      connectionId,
      table,
      columns,
      dataBuffer,
      rowCount,
    );