[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
Security Level: All

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


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

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 Nov 25 18:48:30 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.