Formating dates with SQLite and SQLAlchemy query to get Month and Year for ploting graphs

前端 未结 0 1572
别那么骄傲
别那么骄傲 2021-02-13 00:16

I am trying to format a datetime in SQLAlchemy like I can do in pure MYSQL:

DATE_FORMAT(datetime, \'%Y-%m\')

However, I am using SQLite as a data

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