MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / Customer

Class Customer

examples/performance/single_inserts.py:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22
23class Customer(Base):
24 __tablename__ = "customer"
25 id = Column(Integer, Identity(), primary_key=True)
26 name = Column(String(255))
27 description = Column(String(255))
28
29
30Profiler.init("single_inserts", num=10000)

Callers 2

test_orm_commitFunction · 0.70
test_bulk_saveFunction · 0.70

Calls 3

ColumnClass · 0.90
IdentityClass · 0.90
StringClass · 0.90

Tested by 2

test_orm_commitFunction · 0.56
test_bulk_saveFunction · 0.56