MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / D

Class D

test/orm/test_ac_relationships.py:231–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 a_id = Column(ForeignKey("a.id"))
230
231 class D(ComparableEntity, Base):
232 __tablename__ = "d"
233
234 id = Column(Integer, primary_key=True)
235 c_id = Column(ForeignKey("c.id"))
236 b_id = Column(ForeignKey("b.id"))
237
238 # 1. set up the join() as a variable, so we can refer
239 # to it in the mapping multiple times.

Callers 1

insert_dataMethod · 0.70

Calls 2

ColumnClass · 0.90
ForeignKeyClass · 0.90

Tested by 1

insert_dataMethod · 0.56