from postDB import Model, Column, types
class User(Model):
id = Column(types.Integer(big=True), primary_key=True)
username = Column(types.String)
email = Column(types.String, unique=True)
if __name__ == '__main__':
print(User.create_table_sql())
-
Notifications
You must be signed in to change notification settings - Fork 0
A WIP asynchronous database module for PostgreSQL databases.
License
SylteA/postDB
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A WIP asynchronous database module for PostgreSQL databases.