Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional body statements/table options to query builders #714

Open
hmlamad opened this issue Dec 5, 2022 · 0 comments
Open

Add additional body statements/table options to query builders #714

hmlamad opened this issue Dec 5, 2022 · 0 comments

Comments

@hmlamad
Copy link

hmlamad commented Dec 5, 2022

hi all

MySQLQuery.create_table(country_table)\
    .columns(
        Column('hashkey',  "VARCHAR(50)" , nullable=False, default=ValueWrapper(""))
    )

currently I am having such an object
in order to achieve

CREATE TABLE `countries` (
    `hashkey` VARCHAR(50) NOT NULL DEFAULT ''
    UNIQUE INDEX `hashkey2` (`hashkey`) USING BTREE
)
COLLATE='utf8_general_ci'

I need to add some statements to the body and the table option
but wondering how can I add them

or simply, at this moment it is not supported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant