Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ scalar
Method
scalar
test/orm/inheritance/test_single.py:270–271 ·
view source on GitHub ↗
(q)
Source
from the content-addressed store, hash-verified
268
m1id, e1id, e2id = m1.employee_id, e1.employee_id, e2.employee_id
269
270
def
scalar(q):
271
return
[x
for
x, in q]
272
273
eq_(scalar(session.query(Employee.employee_id)), [m1id, e1id, e2id])
274
Callers
15
test_twophase
Method · 0.45
test_continue_flushing_on_commit
Method · 0.45
test_recipe_heavy_nesting
Method · 0.45
test_rollback_is_global
Method · 0.45
_assert_count
Method · 0.45
test_persistence
Method · 0.45
test_delete_cascade
Method · 0.45
test_passive_deletes_succeed
Method · 0.45
test_remove_orphans
Method · 0.45
test_bound_connection_transactional
Method · 0.45
test_exists
Method · 0.45
test_sum
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected