Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ basic_association.py
File
basic_association.py
examples/association/basic_association.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"Illustrate a many-to-many relationship between an
2
"Order"
and a collection of
"Item"
objects, associating a purchase price
3
with
each via an association object called
"OrderItem"
4
Callers
nothing calls this directly
Calls
15
create_engine
Function · 0.90
Session
Class · 0.90
select
Function · 0.90
create_all
Method · 0.80
Item
Class · 0.70
Order
Class · 0.70
OrderItem
Class · 0.70
add_all
Method · 0.45
commit
Method · 0.45
append
Method · 0.45
add
Method · 0.45
one
Method · 0.45
Tested by
no test coverage detected