MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / Event

Class Event

examples/basic.py:10–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9
10class Event(Model):
11 id = fields.IntField(primary_key=True)
12 name = fields.TextField()
13 datetime = fields.DatetimeField(null=True)
14 username = fields.CharField(max_length=150, unique=True, db_index=True)
15
16 class Meta:
17 table = "event"
18
19 def __str__(self):
20 return self.name
21
22
23@init_memory_sqlite

Callers 1

runFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…