Doctrine


Namespace Doctrine\ORM\Query\AST

Class Summary
ASTExceptionDescription of QueryException
AggregateExpressionDescription of AggregateExpression
ArithmeticExpressionArithmeticExpression ::= SimpleArithmeticExpression | "(" Subselect ")"
ArithmeticFactorArithmeticFactor ::= [("+" | "-")] ArithmeticPrimary
ArithmeticTermArithmeticTerm ::= ArithmeticFactor {("*" | "/") ArithmeticFactor}
BetweenExpressionDescription of BetweenExpression@license http://www.opensource.org/licenses/lgpl-license.php LGPL
CollectionMemberExpressionCollectionMemberExpression ::= EntityExpression ["NOT"] "MEMBER" ["OF"] CollectionValuedPathExpression
ComparisonExpressionComparisonExpression ::= ArithmeticExpression ComparisonOperator ( QuantifiedExpression | ArithmeticExpression ) | StringExpression ComparisonOperator (StringExpression | QuantifiedExpression) | BooleanExpression ("=" | "" | "!=") (BooleanExpression | QuantifiedExpression) | EnumExpression ("=" | "" | "!=") (EnumExpression | QuantifiedExpression) | DatetimeExpression ComparisonOperator (DatetimeExpression | QuantifiedExpression) | EntityExpression ("=" | "") (EntityExpression | QuantifiedExpression)
ConditionalExpressionConditionalExpression ::= ConditionalTerm {"OR" ConditionalTerm}
ConditionalFactorConditionalFactor ::= ["NOT"] ConditionalPrimary
ConditionalPrimaryConditionalPrimary ::= SimpleConditionalExpression | "(" ConditionalExpression ")"
ConditionalTermConditionalTerm ::= ConditionalFactor {"AND" ConditionalFactor}
DeleteClauseDeleteClause ::= "DELETE" ["FROM"] AbstractSchemaName [["AS"] AliasIdentificationVariable]
DeleteStatementDeleteStatement = DeleteClause [WhereClause]
EmptyCollectionComparisonExpressionEmptyCollectionComparisonExpression ::= CollectionValuedPathExpression "IS" ["NOT"] "EMPTY"
ExistsExpressionExistsExpression ::= ["NOT"] "EXISTS" "(" Subselect ")"
FromClauseFromClause ::= "FROM" IdentificationVariableDeclaration {"," IdentificationVariableDeclaration}
GroupByClauseDescription of GroupByClause
HavingClauseDescription of HavingClause
IdentificationVariableDeclarationIdentificationVariableDeclaration ::= RangeVariableDeclaration [IndexBy] {JoinVariableDeclaration}
InExpressionInExpression ::= StateFieldPathExpression ["NOT"] "IN" "(" (Literal {"," Literal}* | Subselect) ")"
IndexByIndexBy ::= "INDEX" "BY" SimpleStateFieldPathExpression
InputParameterDescription of InputParameter
JoinJoin ::= ["LEFT" ["OUTER"] | "INNER"] "JOIN" JoinAssociationPathExpression ["AS"] AliasIdentificationVariable [("ON" | "WITH") ConditionalExpression]
JoinAssociationPathExpressionJoinAssociationPathExpression ::= IdentificationVariable "." (SingleValuedAssociationField | CollectionValuedAssociationField)
JoinVariableDeclarationJoinVariableDeclaration ::= Join [IndexBy]
LikeExpressionLikeExpression ::= StringExpression ["NOT"] "LIKE" string ["ESCAPE" char]
LiteralAbstract class of an AST node
NodeAbstract class of an AST node
NullComparisonExpressionNullComparisonExpression ::= (SingleValuedPathExpression | InputParameter) "IS" ["NOT"] "NULL"
OrderByClauseOrderByClause ::= "ORDER" "BY" OrderByItem {"," OrderByItem}
OrderByItemOrderByItem ::= (ResultVariable | StateFieldPathExpression) ["ASC" | "DESC"]
PartialObjectExpressionAbstract class of an AST node
PathExpressionAssociationPathExpression ::= CollectionValuedPathExpression | SingleValuedAssociationPathExpression SingleValuedPathExpression ::= StateFieldPathExpression | SingleValuedAssociationPathExpression StateFieldPathExpression ::= SimpleStateFieldPathExpression | SimpleStateFieldAssociationPathExpression SingleValuedAssociationPathExpression ::= IdentificationVariable "." {SingleValuedAssociationField "."}* SingleValuedAssociationField CollectionValuedPathExpression ::= IdentificationVariable "." {SingleValuedAssociationField "."}* CollectionValuedAssociationField StateField ::= {EmbeddedClassStateField "."}* SimpleStateField SimpleStateFieldPathExpression ::= IdentificationVariable "." StateField SimpleStateFieldAssociationPathExpression ::= SingleValuedAssociationPathExpression "." StateField
QuantifiedExpressionQuantifiedExpression ::= ("ALL" | "ANY" | "SOME") "(" Subselect ")"
RangeVariableDeclarationRangeVariableDeclaration ::= AbstractSchemaName ["AS"] AliasIdentificationVariable
SelectClauseSelectClause = "SELECT" ["DISTINCT"] SelectExpression {"," SelectExpression}
SelectExpressionSelectExpression ::= IdentificationVariable ["." "*"] | StateFieldPathExpression | (AggregateExpression | "(" Subselect ")") [["AS"] FieldAliasIdentificationVariable]
SelectStatementSelectStatement = SelectClause FromClause [WhereClause] [GroupByClause] [HavingClause] [OrderByClause]
SimpleArithmeticExpressionSimpleArithmeticExpression ::= ArithmeticTerm {("+" | "-") ArithmeticTerm}
SimpleSelectClauseSimpleSelectClause ::= "SELECT" ["DISTINCT"] SimpleSelectExpression
SimpleSelectExpressionSimpleSelectExpression ::= StateFieldPathExpression | IdentificationVariable | (AggregateExpression [["AS"] FieldAliasIdentificationVariable])
SubselectSubselect ::= SimpleSelectClause SubselectFromClause [WhereClause] [GroupByClause] [HavingClause] [OrderByClause]
SubselectFromClauseSubselectFromClause ::= "FROM" SubselectIdentificationVariableDeclaration {"," SubselectIdentificationVariableDeclaration}
UpdateClauseUpdateClause ::= "UPDATE" AbstractSchemaName [["AS"] AliasIdentificationVariable] "SET" UpdateItem {"," UpdateItem}
UpdateItemUpdateItem ::= [IdentificationVariable "."] {StateField | SingleValuedAssociationField} "=" NewValue NewValue ::= SimpleArithmeticExpression | StringPrimary | DatetimePrimary | BooleanPrimary | EnumPrimary | SimpleEntityExpression | "NULL"
UpdateStatementUpdateStatement = UpdateClause [WhereClause]
WhereClauseWhereClause ::= "WHERE" ConditionalExpression

Doctrine