batchInsert

suspend fun <T, E : Table<T>> DatabaseOperations.batchInsert(table: E, rows: List<Map<String, *>>): Long

Batch-inserts a list of pre-built row maps into table using a single parameterised statement. This is the only Map-based row entry point kept in the public API — it exists for the case where the source data is already in Map form (e.g. JSON-parsed, or transferred from another table) and you want one round-trip instead of N. For ordinary row construction, prefer the typed insert DSL.

All rows must use the same set of column keys; otherwise the call throws IllegalArgumentException before hitting the database.