insert_batch($table[, $set = NULL[, $escape = NULL[, $batch_size = 100]]])
| Parameters: |
|
|---|---|
| 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 insert up to $batch_size rows.
Please login to continue.