We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Two new parameters which specify what should happen if the view already exists. I want this for dogsheep/github-to-sqlite#37
Here's the current create_view() implementation:
create_view()
sqlite-utils/sqlite_utils/db.py
Lines 325 to 332 in b4d953d
ignore=True will not do anything if the view exists already.
ignore=True
replace=True will drop and redefine the view - but only if its SQL definition differs, otherwise it will be left alone.
replace=True
The text was updated successfully, but these errors were encountered:
5c1df4e
Docs: https://sqlite-utils.readthedocs.io/en/latest/python-api.html#creating-views
Sorry, something went wrong.
Release 2.7.2, refs #106
79541d3
No branches or pull requests
Two new parameters which specify what should happen if the view already exists. I want this for dogsheep/github-to-sqlite#37
Here's the current
create_view()
implementation:sqlite-utils/sqlite_utils/db.py
Lines 325 to 332 in b4d953d
ignore=True
will not do anything if the view exists already.replace=True
will drop and redefine the view - but only if its SQL definition differs, otherwise it will be left alone.The text was updated successfully, but these errors were encountered: