我不能在peewee中使用sqlite函数group_concat()。这是完全的狙击。peewee想要将group_concat()的结果转换为整数,而它是字符串("1,2")。我找不到压制它的方法。from peewee import *
name = CharField()line 1938, in next
from shop_table where Date(mydate)>'2011-01-07' GROUP BY Date(mydate),username 因为日期包括时间,所以我使用Date()函数将它们转换为'only date‘,所以不管小时数,我都可以理解一天内的销售总额。但是在peewee中有能力使用'fn‘来做这件事吗?