MCPcopy
hub / github.com/ormar-orm/ormar / Company

Class Company

docs_src/queries/docs006.py:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19
20class Company(ormar.Model):
21 ormar_config = ormar_base_config.copy(tablename="companies")
22
23 id: int = ormar.Integer(primary_key=True)
24 name: str = ormar.String(max_length=100)
25 founded: int = ormar.Integer(nullable=True)
26
27
28class Car(ormar.Model):

Callers

nothing calls this directly

Calls 1

copyMethod · 0.80

Tested by

no test coverage detected