final class RenameOperation implements Component (View source)

RENAME TABLE keyword parser.

Properties

Expression|null $old

The old table name.

Expression|null $new

The new table name.

Methods

__construct(Expression|null $old = null, Expression|null $new = null)

No description

string
build()

Builds the string representation of a component of this type.

string
__toString()

No description

Details

__construct(Expression|null $old = null, Expression|null $new = null)

No description

Parameters

Expression|null $old

old expression

Expression|null $new

new expression containing new name

string build()

Builds the string representation of a component of this type.

In other words, this function represents the inverse function of {\PhpMyAdmin\SqlParser\Component::parse()}.

Return Value

string

string __toString()

No description

Return Value

string