MCPcopy
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
3with each via an association object called "OrderItem"
4

Callers

nothing calls this directly

Calls 15

create_engineFunction · 0.90
SessionClass · 0.90
selectFunction · 0.90
create_allMethod · 0.80
ItemClass · 0.70
OrderClass · 0.70
OrderItemClass · 0.70
add_allMethod · 0.45
commitMethod · 0.45
appendMethod · 0.45
addMethod · 0.45
oneMethod · 0.45

Tested by

no test coverage detected