bulkInsertParallel method

int bulkInsertParallel(
  1. int poolId,
  2. String table,
  3. List<String> columns,
  4. Uint8List dataBuffer,
  5. int parallelism,
)
inherited

Performs parallel bulk insert through poolId.

Uses pool-managed parallel workers in Rust. Returns rows inserted on success, or negative value on failure.

Implementation

int bulkInsertParallel(
  int poolId,
  String table,
  List<String> columns,
  Uint8List dataBuffer,
  int parallelism,
) =>
    _captureSync(
      'bulkInsertParallel',
      () => _native.bulkInsertParallel(
        poolId,
        table,
        columns,
        dataBuffer,
        parallelism,
      ),
      failed: (value) => value < 0,
    );