OrderKeyword
final class OrderKeyword implements Component (View source)
ORDER BY
keyword parser.
Properties
Expression|null | $expr | The expression that is used for ordering. |
|
OrderSortKeyword | $type | The order type. |
Methods
__construct(Expression|null $expr = null, OrderSortKeyword $type = OrderSortKeyword::Asc)
No description
string
build()
Builds the string representation of a component of this type.
string
__toString()
No description
Details
__construct(Expression|null $expr = null, OrderSortKeyword $type = OrderSortKeyword::Asc)
No description
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()}.
string
__toString()
No description