StatementIterator¶
Iterator adapter for Statement. Enables for result in stmt.values() do.
Yields Row values on success, FetchError on failure. EndOfRows ends
iteration.
Implements¶
- Iterator[(Row val | FetchError val)] ref
Constructors¶
create¶
Parameters¶
- stmt: Statement ref
Returns¶
- StatementIterator ref^
Public Functions¶
has_next¶
Returns¶
- Bool val
next¶
Returns¶
- (Row val | FetchError val) ?