-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(db_api): use sqlparse to split DDL statements (#372)
Instead of simple `str.split(";")` method use more smart `sqlparse` package to split DDL statements executed in a form: ```python cursor.execute(""" ddl_statement1; ddl_statement2; ddl_statement3; """) ```
- Loading branch information
Ilya Gurov
authored
Jun 22, 2021
1 parent
b7b3c38
commit ed9e124
Showing
3 changed files
with
19 additions
and
4 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