class SelectStatement extends Node (View source)

SelectStatement = SelectClause FromClause [WhereClause] [GroupByClause] [HavingClause] [OrderByClause]

Properties

SelectClause $selectClause
FromClause $fromClause
WhereClause|null $whereClause
GroupByClause|null $groupByClause
HavingClause|null $havingClause
OrderByClause|null $orderByClause

Methods

dispatch($sqlWalker)

Double-dispatch method, supposed to dispatch back to the walker.

string
__toString()

Dumps the AST Node into a string representation for information purpose only.

from Node
string
dump(object $obj)

No description

from Node
__construct(SelectClause $selectClause, FromClause $fromClause)

No description

Details

dispatch($sqlWalker)

Double-dispatch method, supposed to dispatch back to the walker.

Implementation is not mandatory for all nodes.

Parameters

$sqlWalker

Exceptions

ASTException

string __toString()

Dumps the AST Node into a string representation for information purpose only.

Return Value

string

string dump(object $obj)

Parameters

object $obj

Return Value

string

__construct(SelectClause $selectClause, FromClause $fromClause)

Parameters

SelectClause $selectClause
FromClause $fromClause