1
0
mirror of synced 2025-03-22 16:03:49 +03:00

Remove CASE, COALESCSE, NULLIF EBNF rules for the time being, they are not yet supported.

This commit is contained in:
Benjamin Eberlei 2011-03-20 12:05:28 +01:00
parent c551192b6b
commit cca642b094

View File

@ -1457,18 +1457,7 @@ Scalar and Type Expressions
.. code-block:: php
ScalarExpression ::= SimpleArithmeticExpression | StringPrimary | DateTimePrimary | StateFieldPathExpression
BooleanPrimary | CaseExpression | EntityTypeExpression
CaseExpression ::= GeneralCaseExpression | SimpleCaseExpression |
CoalesceExpression | NullifExpression
GeneralCaseExpression ::= "CASE" WhenClause {WhenClause}* "ELSE" ScalarExpression
"END"
WhenClause ::= "WHEN" ConditionalExpression "THEN" ScalarExpression
SimpleCaseExpression ::= "CASE" CaseOperand SimpleWhenClause {SimpleWhenClause}*
"ELSE" ScalarExpression "END"
CaseOperand ::= StateFieldPathExpression | TypeDiscriminator
SimpleWhenClause ::= "WHEN" ScalarExpression "THEN" ScalarExpression
CoalesceExpression ::= "COALESCE" "(" ScalarExpression {"," ScalarExpression}* ")"
NullifExpression ::= "NULLIF" "(" ScalarExpression "," ScalarExpression ")"
BooleanPrimary | EntityTypeExpression
StringExpression ::= StringPrimary | "(" Subselect ")"
StringPrimary ::= StateFieldPathExpression | string | InputParameter | FunctionsReturningStrings | AggregateExpression
BooleanExpression ::= BooleanPrimary | "(" Subselect ")"
@ -1478,6 +1467,10 @@ Scalar and Type Expressions
DatetimeExpression ::= DatetimePrimary | "(" Subselect ")"
DatetimePrimary ::= StateFieldPathExpression | InputParameter | FunctionsReturningDatetime | AggregateExpression
.. note::
Parts of CASE expressions are not yet implemented.
Aggregate Expressions
~~~~~~~~~~~~~~~~~~~~~