postgresql-for-doctrine
postgresql-for-doctrine copied to clipboard
Change `Literal` usage to accept `InputParameter` types
The use of Literal was preventing usage of doctrine input parameters as :myQueryInputParameter
So to allow its use I changed Literals to StringPrimary accepting more diverse parameters including InputParameter and that seemed already well used in code base.
StringPrimary ::= StateFieldPathExpression | string | InputParameter | FunctionsReturningStrings | AggregateExpression | CaseExpression
Literal ::= string | char | integer | float | boolean
https://www.doctrine-project.org/projects/doctrine-orm/en/2.16/reference/dql-doctrine-query-language.html
@TomBerriot, thanks for the contribution; however, CI is failing. Can you revise, please?