Most simple example from docs:
for row in session.query('SELECT * FROM foo'):
print row
Fails when there are no rows in the table:
Traceback (most recent call last):
File "venv/lib/python3.9/site-packages/queries/results.py", line 45, in __iter__
raise StopIteration
StopIteration
Expected result: for loop should just pass without errors
Most simple example from docs:
Fails when there are no rows in the table:
Expected result: for loop should just pass without errors