Files
Arpit JainandGitHub b773483423 Return None from first_item/first_row on empty result (#826)
QueryResult.first_item and QueryResult.first_row indexed element [0]
without checking the row count, so they raised IndexError when a query
returned no rows. Both properties now short-circuit on an empty result
and return None in row-oriented and column-oriented mode.

Closes #824

Signed-off-by: Arpit Jain <[email protected]>
2026-06-29 11:10:35 -07:00
..
2022-02-22 13:01:55 -07:00
2026-04-22 09:33:21 -07:00
2026-04-22 09:33:21 -07:00