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

Class Company

docs_src/queries/docs008.py:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

copyMethod · 0.80

Tested by

no test coverage detected