Repository navigation
Replies: 2 comments
|
Take a look at the simple example here: https://ahopkins.github.io/mayim/guide/#how from mayim import query
class ForumExecutor(MysqlExecutor):
@query("CREATE TABLE IF NOT EXISTS `forum` (`fid` INT PRIMARY KEY, `fname` VARCHAR(36) UNIQUE NOT NULL)")
async def create_table_forum(self) -> None:
"""
create forum
""" |
0 replies
The guide did not mention that connecting to the SQL server requires these |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
How do I solve it?
All reactions