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

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -