MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / User

Class User

test/orm/test_selectin_relations.py:3336–3342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3334 Base = cls.DeclarativeBasic
3335
3336 class User(Base):
3337 __tablename__ = "user"
3338
3339 id = Column(Integer, primary_key=True)
3340 type = Column(String(10))
3341
3342 __mapper_args__ = {"polymorphic_on": type}
3343
3344 class EmployerUser(User):
3345 roles = relationship("Role", lazy="selectin")

Callers 7

goMethod · 0.70
test_orderbyMethod · 0.70
test_orderby_multiMethod · 0.70
test_orderby_relatedMethod · 0.70
test_orderby_descMethod · 0.70
insert_dataMethod · 0.70
insert_dataMethod · 0.70

Calls 2

ColumnClass · 0.90
StringClass · 0.90

Tested by 7

goMethod · 0.56
test_orderbyMethod · 0.56
test_orderby_multiMethod · 0.56
test_orderby_relatedMethod · 0.56
test_orderby_descMethod · 0.56
insert_dataMethod · 0.56
insert_dataMethod · 0.56