No, FROM cannot be ommited. The correct DQL is:

    SELECT f FROM Foo f WHERE f.bar IS NULL

--  
Jasper N. Brouwer
(@jaspernbrouwer)


On 5 August 2014 at 11:15:50, Nima Sadjadi ([email protected]) wrote:
> "FROM" can be ommitted safely?
> Shouldn't there be "FROM" too?


-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to