Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ with_entities
Method
with_entities
lib/sqlalchemy/orm/query.py:1482–1482 · lib/sqlalchemy/orm/query.py::Query.with_entities
(self, _entity: _EntityType[_O])
Source
from the content-addressed store, hash-verified
1480
1481
@overload
1482
def
with_entities(self, _entity: _EntityType[_O]) -> Query[_O]: ...
1483
1484
@overload
1485
def
with_entities(
Callers
15
t_legacy_query_cols_1_with_entities
Function · 0.80
t_legacy_query_cols_2_with_entities
Function · 0.80
test_query_one
Method · 0.80
test_query_two
Method · 0.80
test_query_three
Method · 0.80
test_w_new_entities
Method · 0.80
test_conditional_step
Method · 0.80
test_join_with_entities
Method · 0.80
test_join_and_union_with_entities
Method · 0.80
test_explicit_join_10
Method · 0.80
test_tuple_labeling
Method · 0.80
test_sum
Method · 0.80
Calls
3
_set_entities
Method · 0.95
_no_kw
Function · 0.85
_generate_for_statement
Method · 0.80
Tested by
15
test_query_one
Method · 0.64
test_query_two
Method · 0.64
test_query_three
Method · 0.64
test_w_new_entities
Method · 0.64
test_conditional_step
Method · 0.64
test_join_with_entities
Method · 0.64
test_join_and_union_with_entities
Method · 0.64
test_explicit_join_10
Method · 0.64
test_tuple_labeling
Method · 0.64
test_sum
Method · 0.64
test_orm_query_using_with_entities
Method · 0.64
test_more_with_entities_sanity_checks
Method · 0.64