TableDiff extends TableDiff
Helper methods to handle raw SQL input and transform it into individual statements for further processing.
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.
- 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
stringgetTableOptions()
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
boolsetTableOptions()
Setter for table options
public
setTableOptions(array<string|int, mixed> $tableOptions) : TableDiff
Parameters
- $tableOptions : array<string|int, mixed>