

def field_definition(self, field):
    column_type = self.get_column_type(field.get_db_field())
    ddl = field.__ddl__(column_type)
    return Clause(*ddl)

dataset/ETHPy150Open coleifer/peewee/peewee.py QueryCompiler.field_definition/original