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

Class Owner

docs_src/queries/docs007.py:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19
20class Owner(ormar.Model):
21 ormar_config = ormar_base_config.copy(tablename="owners")
22
23 id: int = ormar.Integer(primary_key=True)
24 name: str = ormar.String(max_length=100)
25
26
27class Toy(ormar.Model):

Callers

nothing calls this directly

Calls 1

copyMethod · 0.80

Tested by

no test coverage detected