TableDiff extends TableDiff

Helper methods to handle raw SQL input and transform it into individual statements for further processing.

Internal

Table of Contents

Properties

$tableOptions  : array<string|int, mixed>
Platform specific table options

Methods

getTableOption()  : string
getTableOptions()  : array<string|int, mixed>
Getter for table options.
hasTableOption()  : bool
Check if a table options has been set.
isEmpty()  : bool
setTableOptions()  : TableDiff
Setter for table options

Properties

$tableOptions

Platform specific table options

protected array<string|int, mixed> $tableOptions = []

Methods

getTableOption()

public getTableOption(string $optionName) : string
Parameters
$optionName : string
Return values
string

getTableOptions()

Getter for table options.

public getTableOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>

hasTableOption()

Check if a table options has been set.

public hasTableOption(string $optionName) : bool
Parameters
$optionName : string
Return values
bool

isEmpty()

public isEmpty() : bool
Return values
bool

setTableOptions()

Setter for table options

public setTableOptions(array<string|int, mixed> $tableOptions) : TableDiff
Parameters
$tableOptions : array<string|int, mixed>
Return values
TableDiff

        
On this page

Search results