def resolve_columns(self, row, fields=()):
        # If the results are sliced, the resultset will have an initial 
        # "row number" column. Remove this column before the ORM sees it.
        if getattr(self, '_using_row_number', False):
            row = row[1:]
        values = []
        index_extra_select = len(self.query.extra_select)
        for value, field in zip_longest(row[index_extra_select:], fields):
            # print '\tfield=%s\tvalue=%s' % (repr(field), repr(value))
            if field:
                try:
                    value = self.connection.ops.convert_values(value, field)
                except __HOLE__:
                    pass
            values.append(value)
        return row[:index_extra_select] + tuple(values)
dataset/ETHPy150Open lionheart/django-pyodbc/django_pyodbc/compiler.py/SQLCompiler.resolve_columns