Skip to content

feat: Add an option similar to CREATE IF NOT EXISTS to create_tableΒ #220

@diosney

Description

@diosney

Is your feature request related to a problem? Please describe.
Right now the only way to create a table without triggering an error is by checking before whether that table exists or not.

Describe the solution you'd like
To add optional config as the third argument like create_table(table_name, table_def, config)

where config is something like { if_not_exists := false } which will mimic the behavior of:

CREATE TABLE IF NOT EXISTS

Describe alternatives you've considered
Using .query() with a plain SQL query the regular way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions