'Gets the column names from the cursor description. This method exists
so that it can be mocked in the unit test for sqlite3 compatibility.'

def _get_column_names(self, cursor):

    return [column_info[0] for column_info in cursor.description]
