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

upsert new rows with constraints, fixes #514 #515

Closed

Conversation

cldellow
Copy link

@cldellow cldellow commented Nov 26, 2022

This fixes #514 by making the initial insert for upserts include all columns, so that new rows can be added to tables with non-pkey columns that have constraints.

(aside: I'm not a python programmer. pip? pipenv? venv? These are mystical incantations to me. The process to set up this repo for local development and testing was so easy. Thank you for the excellent contributing documentation!)


📚 Documentation preview 📚: https://sqlite-utils--515.org.readthedocs.build/en/515/

@simonw
Copy link
Owner

simonw commented May 8, 2023

I should have spotted this PR before I shipped my own fix! 2376c45

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.

upsert of new row with check constraints fails
2 participants