final class TableOptions (View source)

Methods

__construct(string|null $engine = null, string|null $charset = null, string|null $collation = null, string|null $comment = null, array $extra = [])
engine(string|null $engine)
charset(string|null $charset)
collation(string|null $collation)
comment(string|null $comment)
option(string $name, int|string|bool|SqlExpression|null $value)
string|null
string|null
string|null
string|null
string|null
string|null
string|null
string|null
array
extra()
array

Details

__construct

__construct(string|null $engine = null, string|null $charset = null, string|null $collation = null, string|null $comment = null, array $extra = [])

No description

Parameters

string|null $engine
string|null $charset
string|null $collation
string|null $comment
array $extra

make

static TableOptions make()

No description

Return Value

TableOptions

engine

TableOptions engine(string|null $engine)

No description

Parameters

string|null $engine

Return Value

TableOptions

charset

TableOptions charset(string|null $charset)

No description

Parameters

string|null $charset

Return Value

TableOptions

collation

TableOptions collation(string|null $collation)

No description

Parameters

string|null $collation

Return Value

TableOptions

comment

TableOptions comment(string|null $comment)

No description

Parameters

string|null $comment

Return Value

TableOptions

option

TableOptions option(string $name, int|string|bool|SqlExpression|null $value)

No description

Parameters

string $name
int|string|bool|SqlExpression|null $value

Return Value

TableOptions

engineName

string|null engineName()

No description

Return Value

string|null

charsetName

string|null charsetName()

No description

Return Value

string|null

collationName

string|null collationName()

No description

Return Value

string|null

commentText

string|null commentText()

No description

Return Value

string|null

extra

array extra()

No description

Return Value

array