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
""" |
Beta Was this translation helpful? Give feedback.
0 replies
-
The guide did not mention that connecting to the SQL server requires these |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do I solve it?
Beta Was this translation helpful? Give feedback.
All reactions