Flow PHP

MySQLInsertOptions implements InsertOptions

Read onlyYes
FinalYes

Interfaces

InsertOptions

Properties

$skipConflicts  : bool|null
$updateColumns  : array<string|int, mixed>
$upsert  : bool|null

Methods

__construct()  : mixed
fromArray()  : InsertOptions
new()  : self
skipConflicts()  : self
updateColumns()  : self
upsert()  : self

Properties

Methods

__construct()

public __construct([null|bool $skipConflicts = null ][, null|bool $upsert = null ][, array<string|int, string> $updateColumns = [] ]) : mixed
Parameters
$skipConflicts : null|bool = null
$upsert : null|bool = null
$updateColumns : array<string|int, string> = []

skipConflicts()

public skipConflicts([bool $skip = true ]) : self
Parameters
$skip : bool = true
Return values
self

updateColumns()

public updateColumns(array<string|int, string> $updateColumns) : self
Parameters
$updateColumns : array<string|int, string>
Return values
self

upsert()

public upsert([bool $upsert = true ]) : self
Parameters
$upsert : bool = true
Return values
self

        
On this page

Search results