Django: Performing a raw sql query with count()

后端 未结 0 1565
面向向阳花
面向向阳花 2021-01-31 02:37

I want to make a query to get the number of rows in the model MyTable that have the field expire (datetime) be a date in the current week.

In MySQL I execute the followin

相关标签:
回答
  • 消灭零回复
提交回复
热议问题