StreamingBlobBatch
data class StreamingBlobBatch @JvmOverloads constructor(val table: String, val column: String, val insertSql: String, val blobParameterIndex: Int, val databaseName: String = "main", val transferBufferSize: Int = DEFAULT_BLOB_TRANSFER_BUFFER_SIZE)(source)
Describes a schema-aware batch of incremental BLOB inserts.
insertSql must insert exactly one row per execution. Its parameter at blobParameterIndex is replaced with zeroblob(length) for each StreamingBlobRow. The target must be a rowid table and table and column must identify the inserted BLOB. Views, WITHOUT ROWID tables, upserts, and statements that can update or ignore an existing row are not supported.
Execution retains one prepared statement, one incremental BLOB handle, and one transferBufferSize-byte transfer buffer for the complete batch.
Since
1.4.0