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

Missing CREATE, ALTER DROP statement #188

Merged
merged 6 commits into from
Aug 7, 2023

Conversation

matthias-Q
Copy link
Collaborator

This PR adds CREATE, ALTER, DROP for:

  • sequence
  • database
  • user, group, role
  • index (only alter)

This is quite a lot but very repetitive. Unfortunately, many times it is just 80% reusable code and many dialect specific keyword. I have tried to find a balance.

I noticed that we still miss a lot of basic statements. I will add an issue for that. it would have been to much to put it in here as well.

Copy link
Collaborator

@dmfay dmfay left a comment

Choose a reason for hiding this comment

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

thanks for getting these started!

grammar.js Show resolved Hide resolved
grammar.js Outdated Show resolved Hide resolved
grammar.js Show resolved Hide resolved
grammar.js Outdated Show resolved Hide resolved
grammar.js Show resolved Hide resolved
test/corpus/alter.txt Show resolved Hide resolved
grammar.js Outdated Show resolved Hide resolved
grammar.js Outdated Show resolved Hide resolved
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