Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sqlalchemy/sqlalchemy
/ scalar_subquery
Method
scalar_subquery
lib/sqlalchemy/orm/query.py:761–763 ·
view source on GitHub ↗
( self: Query[Tuple[_MAYBE_ENTITY]], )
Source
from the content-addressed store, hash-verified
759
760
@overload
761
def
scalar_subquery(
762
self: Query[Tuple[_MAYBE_ENTITY]],
763
) -> ScalarSelect[Any]: ...
764
765
@overload
766
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