diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2020-08-25 22:14:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-08-25 22:14:19 +0000 |
commit | 1d18c46512ba4c6cc828dd59baaf9eac777c7bb2 (patch) | |
tree | 13fa9ab425026811afee6a0c89db90f8f5f0ea0a /lib/sqlalchemy/sql/compiler.py | |
parent | c3d74b3bef84f630993f307012003832cec232e7 (diff) | |
parent | 9ab4da7018eae8fc86430c24a38f8ffb0a5951ab (diff) | |
download | sqlalchemy-1d18c46512ba4c6cc828dd59baaf9eac777c7bb2.tar.gz |
Merge "Updates for MariaDB sequences"
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index 17cacc981..7b917e661 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -669,6 +669,10 @@ class SQLCompiler(Compiled): insert_prefetch = update_prefetch = () + postfetch_lastrowid = False + """if True, and this in insert, use cursor.lastrowid to populate + result.inserted_primary_key. """ + _cache_key_bind_match = None """a mapping that will relate the BindParameter object we compile to those that are part of the extracted collection of parameters |