Answer the question
In order to leave comments, you need to log in
How to make a request in YII2?
how to make a query to the database in Yii2, if in its pure form it looks like this:
SELECT MONTH( FROM_UNIXTIME( dt_start ) ) AS month , COUNT( * )
FROM EVENTS
GROUP BY MONTH( FROM_UNIXTIME( dt_start ) )
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question