(self, rows, expressions)
| 1549 | return any(isinstance(expression, ColPairs) for expression in expressions) |
| 1550 | |
| 1551 | def composite_fields_to_tuples(self, rows, expressions): |
| 1552 | col_pair_slices = [ |
| 1553 | slice(i, i + len(expression)) |
| 1554 | for i, expression in enumerate(expressions) |
| 1555 | if isinstance(expression, ColPairs) |
| 1556 | ] |
| 1557 | |
| 1558 | for row in map(list, rows): |
| 1559 | for pos in col_pair_slices: |
| 1560 | row[pos] = (tuple(row[pos]),) |
| 1561 | |
| 1562 | yield row |
| 1563 | |
| 1564 | def results_iter( |
| 1565 | self, |
no outgoing calls
no test coverage detected