Query\QueryBuilder::insert_batch
Creates and executes a batch insertion query
Signature
public function insert_batch(string
$table,
[array
$data = ] )
Parameters
$table
—
string
$data
—
array
Returns
- PDOStatement
Defined by Interface
QueryBuilderInterface
Test Coverage
Information
- Coverage: 4/4 Lines (100%)
- Tests: 4
- Passed: 4 (100%)
Tests
- [ PASSED ] — MySQLQBTest::testInsertBatch
- [ PASSED ] — PgSQLQBTest::testInsertBatch
- [ PASSED ] — SQLiteQBTest::testInsertBatch
- [ PASSED ] — FirebirdQBTest::testInsertBatch