Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ scalar_subquery
Method
scalar_subquery
lib/sqlalchemy/orm/query.py:781–783 · lib/sqlalchemy/orm/query.py::Query.scalar_subquery
( self: Query[Tuple[_MAYBE_ENTITY]], )
Source
from the content-addressed store, hash-verified
779
780
@overload
781
def
scalar_subquery(
782
self: Query[Tuple[_MAYBE_ENTITY]],
783
) -> ScalarSelect[Any]: ...
784
785
@overload
786
def
scalar_subquery(
Callers
15
as_scalar
Method · 0.95
_columns_query
Method · 0.45
test_limit_render_multiple_times
Method · 0.45
test_row_w_scalar_select
Method · 0.45
test_delete_scalar_subq_round_trip
Method · 0.45
test_in_25
Method · 0.45
test_implicitly_boolean
Method · 0.45
test_scalar_select
Method · 0.45
test_in_subquery_alias_explicit
Method · 0.45
test_in_cte_explicit
Method · 0.45
test_subq
Method · 0.45
test_correlated_update_two
Method · 0.45
Calls
2
enable_eagerloads
Method · 0.95
_get_select_statement_only
Method · 0.80
Tested by
15
test_limit_render_multiple_times
Method · 0.36
test_row_w_scalar_select
Method · 0.36
test_delete_scalar_subq_round_trip
Method · 0.36
test_in_25
Method · 0.36
test_implicitly_boolean
Method · 0.36
test_scalar_select
Method · 0.36
test_in_subquery_alias_explicit
Method · 0.36
test_in_cte_explicit
Method · 0.36
test_subq
Method · 0.36
test_correlated_update_two
Method · 0.36
test_correlated_update_three
Method · 0.36
test_correlated_update_four
Method · 0.36