diff options
| author | Gord Thompson <gord@gordthompson.com> | 2021-10-20 15:15:37 -0600 |
|---|---|---|
| committer | Gord Thompson <gord@gordthompson.com> | 2021-10-20 15:15:37 -0600 |
| commit | 7f8bf038b753d3f250e0e974102c16037d1aea5d (patch) | |
| tree | 15a6d550848804f981f5729d65f48291f3efc3e5 /lib/sqlalchemy/sql | |
| parent | 822cf98ecc987fa5fe3c469f142d31464c0df8c7 (diff) | |
| download | sqlalchemy-7f8bf038b753d3f250e0e974102c16037d1aea5d.tar.gz | |
Apply minor update to async_orm example
- Fixed import to avoid MovedIn20Warning.
- Separated drop_all() and create_all() into separate
context managers to avoid dropping and creating the
same table within the same transaction. Apparently
some databases (e.g., CockroachDB) don't allow that.
Change-Id: Id26d7d719871a75ffb78c6af589658666802fb2f
Diffstat (limited to 'lib/sqlalchemy/sql')
0 files changed, 0 insertions, 0 deletions
