MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / C

Class C

test/orm/test_selectin_relations.py:2553–2557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2551 cs = relationship("C", order_by="C.id", back_populates="b")
2552
2553 class C(ComparableEntity, Base):
2554 __tablename__ = "c"
2555 id = Column(Integer, primary_key=True)
2556 b_id = Column(ForeignKey("b.id"))
2557 b = relationship("B", back_populates="cs")
2558
2559 @classmethod
2560 def insert_data(cls, connection):

Callers 1

insert_dataMethod · 0.70

Calls 3

ColumnClass · 0.90
ForeignKeyClass · 0.90
relationshipFunction · 0.90

Tested by 1

insert_dataMethod · 0.56