[DCOM-99] Variable Support in DQL Created: 25/Apr/12  Updated: 03/Mar/14  Resolved: 14/Jan/13

Status: Closed
Project: Doctrine Common
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Masoud Mazarei Assignee: Marco Pivetta
Resolution: Invalid Votes: 0
Labels: None


 Description   

sometimes in complex queries need to use variable,
but DQL not support Variable,



 Comments   
Comment by Marco Pivetta [ 07/Jun/12 ]

Could you please provide more information to this? Otherwise, this issue is quite invalid...

Comment by Ton Sharp [ 03/Mar/14 ]

It means Mysql User-Defined Variables
Doctrine throws "QueryException: [Syntax Error] line 0, col 10: Error: Expected IdentificationVariable | ScalarExpression | AggregateExpression | FunctionDeclaration | PartialObjectExpression | "(" Subselect ")" | CaseExpression, got '@'"

Comment by Marco Pivetta [ 03/Mar/14 ]

Yes, I've marked the issue as invalid.

Generated at Wed Oct 22 03:39:51 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.