InsertsDatabaseRows
trait InsertsDatabaseRows
Methods
void
insertDatabaseRows(ConnectionInterface $connection, string $table, array $rows)
Insert database rows without exceeding the connection's binding limit.
void
insertDatabaseRowChunk(ConnectionInterface $connection, string $table, array $rows)
Insert one database row chunk.
int
maxBindings(ConnectionInterface $connection)
Get the statement binding limit without requiring a PDO-backed custom driver.
Details
at line 18
protected void
insertDatabaseRows(ConnectionInterface $connection, string $table, array $rows)
Insert database rows without exceeding the connection's binding limit.
at line 43
protected void
insertDatabaseRowChunk(ConnectionInterface $connection, string $table, array $rows)
Insert one database row chunk.
at line 53
protected int
maxBindings(ConnectionInterface $connection)
Get the statement binding limit without requiring a PDO-backed custom driver.