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

Feature: Add DROP IF EXISTS for node/rel tables #3775

Closed
Tracked by #3666
prrao87 opened this issue Jul 7, 2024 · 0 comments · Fixed by #3800
Closed
Tracked by #3666

Feature: Add DROP IF EXISTS for node/rel tables #3775

prrao87 opened this issue Jul 7, 2024 · 0 comments · Fixed by #3800
Labels
feature New features or missing components of existing features

Comments

@prrao87
Copy link
Member

prrao87 commented Jul 7, 2024

API

Other

Description

Based on David's comment, when using the DROP TABLE command, it can be useful to check if the table exists prior to running the statement, otherwise it may result in a Runtime error.

Seems like the DROP [IF EXISTS] statement exists in PostgreSQL, so it's intuitive enough to add to our grammar, like we did CREATE NODE TABLE IF NOT EXISTS.

@prrao87 prrao87 added the feature New features or missing components of existing features label Jul 7, 2024
@andyfengHKU andyfengHKU mentioned this issue Jul 10, 2024
81 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New features or missing components of existing features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants