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

Easier inserts #703

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Easier inserts #703

wants to merge 4 commits into from

Conversation

charlie572
Copy link

I've added a feature that allows you to insert values from a dictionary, using the keys as the column names. This addresses #533. I've also added a feature that allows you to update all the given values when there is a duplicate key.

The keys of the dictionary are used as the columns in query.
When there is a duplicate key, all fields given in the INSERT statement
will be updated.
@charlie572 charlie572 requested a review from a team as a code owner September 14, 2022 11:31
@charlie572
Copy link
Author

I noticed that bytes values don't get formatted correctly. I've fixed this and added it to this pull request.

@charlie572
Copy link
Author

I probably should have put these in separate pull requests. Sorry.

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.

1 participant