Read an unparsed row after a :sql:`COPY TO` operation. Return an empty string when the data is finished.
(self)
| 85 | yield data |
| 86 | |
| 87 | def read(self) -> Buffer: |
| 88 | """ |
| 89 | Read an unparsed row after a :sql:`COPY TO` operation. |
| 90 | |
| 91 | Return an empty string when the data is finished. |
| 92 | """ |
| 93 | return self.connection.wait(self._read_gen()) |
| 94 | |
| 95 | def rows(self) -> Iterator[tuple[Any, ...]]: |
| 96 | """ |