mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-13 10:57:38 +08:00
16 lines
228 B
Python
16 lines
228 B
Python
from liteyuki.internal.base.data import *
|
|
|
|
|
|
class People(LiteModel):
|
|
TABLE_NAME: str = "people"
|
|
name: str = ""
|
|
age: int = 0
|
|
sex: str = ""
|
|
identity: str = ""
|
|
|
|
|
|
db = Database("data/test/test.ldb")
|
|
|
|
db.where()
|
|
|