MySQLThe chart is shown in figure, and then the sum of the data (count) of each day is counted by the date function in MySQL.
But the query set API provided by Django doesn’t seem to have an interface. How can I call the Django query set API to implement the SQL statement shown in the diagram, or is it the same as the statement?
If your model is defined as model. DateTimeField, then the queried object has a value of type datetime
- None Found