

def truncate_date(self, date_part, date_field):
    return fn.DATE_TRUNC(SQL(date_part), date_part)

dataset/ETHPy150Open coleifer/peewee/peewee.py Database.truncate_date/VarMisuse@24/35 `date_field`->`date_part`