Flow PHP

Bulk

Read onlyYes
FinalYes

Methods

__construct()  : mixed
create()  : self
insert()  : void
Insert data into the database in bulk.
update()  : void

Methods

create()

public static create() : self
Return values
self

insert()

Insert data into the database in bulk.

public insert(Connection $connection, string $table, BulkData $bulkData[, InsertOptions|null $options = null ]) : void

Insert should be used whenever you want to insert a large number of rows into a table or upsert them.

Each database platform has its own way of handling bulk inserts, please make sure to use the correct implementation of InsertOptions for your platform.

Parameters
$connection : Connection
$table : string
$bulkData : BulkData
$options : InsertOptions|null = null
Tags
throws
Exception|RuntimeException

        
On this page

Search results