Skip to content

Added support for DROP DOMAIN #1828

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

LucaCappelletti94
Copy link
Contributor

This pull request:

Best,
Luca

src/ast/mod.rs Outdated
Comment on lines 3328 to 3332
DropDomain {
if_exists: bool,
name: ObjectName,
drop_behavior: Option<DropBehavior>,
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we wrap the new statement in a named struct? We're looking to move over to that pattern for newer statements. e.g.

struct DropDomain {
    if_exist: bool 
    // ...
}
Statement::DropDomain(DropDomain)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oki

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in commit 10dab51

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

Successfully merging this pull request may close these issues.

2 participants