php - SQL future dates in request -


i'm trying execute sql request future events.

so far, looks :

$dql   = "select aofvhflybundle:flight precisedate >= now()"; $query = $em->createquery($dql); 

but following error:

line 0, col 59: error: expected known function, got 'now' 

how can future flights ?

the dql function looking current_timestamp(). described in doc.


Comments

Popular posts from this blog

xslt - Substring before throwing error -

Google Cloud Bigtable Durability/Availability Guarantees -

Android M doze mode and "native" posix socket freezing up -