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
kundan asked 1 week 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
Mikhail answered 1 week ago
Your Answer

1 + 15 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com