MCPcopy
hub / github.com/tortoise/tortoise-orm / UniqueName

Class UniqueName

tests/testmodels.py:441–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439
440
441class UniqueName(Model):
442 id = fields.IntField(primary_key=True)
443 name = fields.CharField(max_length=20, null=True, unique=True)
444 optional = fields.CharField(max_length=20, null=True)
445 other_optional = fields.CharField(max_length=20, null=True)
446
447
448class UniqueTogetherFields(Model):

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…