Batchlight

batchlight / co.yello.db.batchlight.androidsqlite / SQLiteBinderConfig / getReplaceConfig

getReplaceConfig

fun getReplaceConfig(db: SQLiteDatabase, tableName: String, columnCount: Int, maxBinds: Int = sqlMaxBinds): SQLiteBinderConfig

Creates a statement generator for batch replace statements.

Parameters

db - the database to perform the replaces on.

tableName - the name of the table to preform the replaces on.

columnCount - the number of columns that will be replaced per row.

maxBinds - the total number of values that can be bound to the statement.