Hi,
The field "eventdate" is a DateTime on Mysql database.
I need to group this by Date, no matter the "time".
Example:
SELECT count(t.id),
date(t.eventdate),
t.user_id
FROM tickets_history t
GROUP BY 2, 3
How can I do this using doctrine?
I can't use the cast date() on Doctrine.
Thanks in Advance
--
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 https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.