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

Use IF NOT EXISTS when Creating Tables to Avoid Calls to table_exists #9

Open
cancan101 opened this issue Mar 27, 2015 · 1 comment

Comments

@cancan101
Copy link

This check can be eliminated:

if not table_exists(table_name(tag)):

See: https://www.sqlite.org/lang_createtable.html

@r3m0chop
Copy link
Collaborator

Added in 80cd5a7 as part of #33 ("Add --DB_delete option to clear out the sqlite3 tables of prior_cleaned")

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

2 participants