-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use DML batches in
executemany()
method (#412)
* feat: use mutations for executemany() inserts * add unit test and fix parsing * add use_mutations flag into Connection class * use three-values flag for use_mutations * update docstrings * use batch DMLs for executemany() method * prepare args before inserting into SQL statement * erase mutation mentions * next step * next step * next step * fixes * add unit tests for UPDATE and DELETE statements * don't propagate errors to users on retry * lint fixes * use run_in_transaction * refactor the tests code * fix merge conflict * fix the unit test * revert some changes * use executemany for test data insert Co-authored-by: larkee <31196561+larkee@users.noreply.github.com>
- Loading branch information
Showing
4 changed files
with
395 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.