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

ensure database exists #433

Open
ianengelbrecht opened this issue Sep 3, 2024 · 0 comments
Open

ensure database exists #433

ianengelbrecht opened this issue Sep 3, 2024 · 0 comments

Comments

@ianengelbrecht
Copy link

I'm only using dataset with sqlite, but very greatful for its simplicity. I'd like to suggest to include a parameter in dataset.connect giving the option to check whether the database exists or not, and either throwing or returning None if it does not. So something like ensure_schema, but perhaps ensure_exists.

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