CountWalker
class CountWalker extends TreeWalkerAdapter
Replaces the selectClause of the AST with a COUNT statement.
Constants
HINT_DISTINCT |
Distinct mode hint name. |
Methods
void
walkSelectStatement(SelectStatement $AST)
Walks down a SelectStatement AST node, modifying it to retrieve a COUNT.
Details
at line 47
void
walkSelectStatement(SelectStatement $AST)
Walks down a SelectStatement AST node, modifying it to retrieve a COUNT.