insert_batch($table[, $set = NULL[, $escape = NULL[, $batch_size = 100]]])
Parameters:
$table (string) – Table name
$set (array) – Data to insert
$escape (bool) – Whether to escape values and identifiers
$batch_size (int) – Count of rows to insert at once Returns:
Number of rows inserted or FALSE on failure Return type:
mixed
Compiles and executes batch INSERT statements.
Note When more than $batch_size rows are provided, multiple INSERT queries will be executed, each trying to