Remove CASE, COALESCSE, NULLIF EBNF rules for the time being, they are not yet supported.
This commit is contained in:
parent
c551192b6b
commit
cca642b094
@ -1457,18 +1457,7 @@ Scalar and Type Expressions
|
|||||||
.. code-block:: php
|
.. code-block:: php
|
||||||
|
|
||||||
ScalarExpression ::= SimpleArithmeticExpression | StringPrimary | DateTimePrimary | StateFieldPathExpression
|
ScalarExpression ::= SimpleArithmeticExpression | StringPrimary | DateTimePrimary | StateFieldPathExpression
|
||||||
BooleanPrimary | CaseExpression | EntityTypeExpression
|
BooleanPrimary | 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 ")"
|
|
||||||
StringExpression ::= StringPrimary | "(" Subselect ")"
|
StringExpression ::= StringPrimary | "(" Subselect ")"
|
||||||
StringPrimary ::= StateFieldPathExpression | string | InputParameter | FunctionsReturningStrings | AggregateExpression
|
StringPrimary ::= StateFieldPathExpression | string | InputParameter | FunctionsReturningStrings | AggregateExpression
|
||||||
BooleanExpression ::= BooleanPrimary | "(" Subselect ")"
|
BooleanExpression ::= BooleanPrimary | "(" Subselect ")"
|
||||||
@ -1478,6 +1467,10 @@ Scalar and Type Expressions
|
|||||||
DatetimeExpression ::= DatetimePrimary | "(" Subselect ")"
|
DatetimeExpression ::= DatetimePrimary | "(" Subselect ")"
|
||||||
DatetimePrimary ::= StateFieldPathExpression | InputParameter | FunctionsReturningDatetime | AggregateExpression
|
DatetimePrimary ::= StateFieldPathExpression | InputParameter | FunctionsReturningDatetime | AggregateExpression
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
Parts of CASE expressions are not yet implemented.
|
||||||
|
|
||||||
Aggregate Expressions
|
Aggregate Expressions
|
||||||
~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user