WhereInWalker
class WhereInWalker extends TreeWalkerAdapter
Replaces the whereClause of the AST with a WHERE id IN (:foo1, :foo2) equivalent.
Constants
HINT_PAGINATOR_ID_COUNT |
ID Count hint name. |
PAGINATOR_ID_ALIAS |
Primary key alias for query. |
Methods
void
walkSelectStatement(SelectStatement $AST)
Replaces the whereClause in the AST.
Details
at line 72
void
walkSelectStatement(SelectStatement $AST)
Replaces the whereClause in the AST.
Generates a clause equivalent to WHERE IN (:dpid1, :dpid2, ...)
The parameter namespace (dpid) is defined by the PAGINATORIDALIAS
The total number of parameters is retrieved from the HINTPAGINATORID_COUNT query hint.