Build a results set of python objects.
Parameters
----------
data: QueryResultSet
Returns
-------
results: Iterator[tuple]
Definition at line 179 of file cursor.py.
Referenced by tests.test_results_set.TestRowResults.test_nulls_handled().
182 Build a results set of python objects.
190 results: Iterator[tuple]
193 if data.row_set.columns:
194 nrows = len(data.row_set.columns[0].nulls)
195 ncols = len(data.row_set.row_desc)
198 for desc, col
in zip(data.row_set.row_desc, data.row_set.columns)
200 for i
in range(nrows):
201 yield tuple(columns[j][i]
for j
in range(ncols))