Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ fetchone
Method
fetchone
test/perf/compiled_extensions/result.py:364–368 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
362
pass
363
364
def
fetchone(self):
365
if
self._rows:
366
return
self._rows.pop(0)
367
else
:
368
return
None
369
370
def
fetchmany(self, size=None):
371
if
size is None:
Callers
15
test_invalidate_on_results
Method · 0.45
result_one
Function · 0.45
go_one
Method · 0.45
go_one_uq
Method · 0.45
test_mapping_plus_base
Method · 0.45
test_tuples_plus_base
Method · 0.45
test_scalar_plus_base
Method · 0.45
test_unique_default_filters_rearrange_twice
Method · 0.45
test_scalars_no_fetchone
Method · 0.45
test_mappings_with_columns
Method · 0.45
test_ambiguous_key_raises
Method · 0.45
test_merge_results
Method · 0.45
Calls
1
pop
Method · 0.45
Tested by
15
test_invalidate_on_results
Method · 0.36
test_mapping_plus_base
Method · 0.36
test_tuples_plus_base
Method · 0.36
test_scalar_plus_base
Method · 0.36
test_unique_default_filters_rearrange_twice
Method · 0.36
test_scalars_no_fetchone
Method · 0.36
test_mappings_with_columns
Method · 0.36
test_ambiguous_key_raises
Method · 0.36
test_merge_results
Method · 0.36
test_scalar_mode_but_accessed_nonscalar_result
Method · 0.36
test_we_can_close_cursor
Method · 0.36
test_cursor_is_closed_on_exhausted
Method · 0.36