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
Post a Comment