MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / PyScalarResult

Class PyScalarResult

test/perf/compiled_extensions/result.py:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 ) -> type[result.Result]:
38 # Need to also create a python version of the scalar result
39 class PyScalarResult(result_internal, result.ScalarResult):
40 _fetchiter_impl = result.ScalarResult._fetchiter_impl
41 _fetchone_impl = result.ScalarResult._fetchone_impl
42 _fetchmany_impl = result.ScalarResult._fetchmany_impl
43 _fetchall_impl = result.ScalarResult._fetchall_impl
44 _soft_close = result.ScalarResult._soft_close
45
46 def scalars(self, index=0):
47 return PyScalarResult(self, index)

Callers 1

scalarsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected