Try to search your question here, if you can't find : Ask Any Question Now ?

Getting error while using interval in doctrine

HomeCategory: stackoverflowGetting error while using interval in doctrine
Avatarkundan asked 5 months ago

When I use below query (Doctrine 2), I was getting error, and can’t use INTERVAL in query,

$qb->andWhere("(pv.appointment_date + INTERVAL 48 HOUR) >= UTC_TIMESTAMP()");

Error: Expected DoctrineORMQueryLexer::T_CLOSE_PARENTHESIS, got ’48′”

1 Answers
Best Answer
AvatarMikhail answered 5 months ago
Your Answer

6 + 1 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com