diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2021-04-14 17:21:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2021-04-14 17:21:36 +0000 |
commit | ccff3a14db356ba435d77f2958e87ca8013f6ce4 (patch) | |
tree | 04b9c5be595f3ae7a2d47eb6a8fd633471a7fe2f /lib/sqlalchemy/engine/default.py | |
parent | b26cf96462b195a4c12ccdf8283ef028f91eb872 (diff) | |
parent | 94a1c523984e2082bb16d784cf8615061ba9d49a (diff) | |
download | sqlalchemy-ccff3a14db356ba435d77f2958e87ca8013f6ce4.tar.gz |
Merge "Support DEFAULT VALUES and VALUES(DEFAULT) individually"
Diffstat (limited to 'lib/sqlalchemy/engine/default.py')
-rw-r--r-- | lib/sqlalchemy/engine/default.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/sqlalchemy/engine/default.py b/lib/sqlalchemy/engine/default.py index 375a93a48..a917228ad 100644 --- a/lib/sqlalchemy/engine/default.py +++ b/lib/sqlalchemy/engine/default.py @@ -141,8 +141,18 @@ class DefaultDialect(interfaces.Dialect): supports_sane_multi_rowcount = True colspecs = {} default_paramstyle = "named" + supports_default_values = False + """dialect supports INSERT... DEFAULT VALUES syntax""" + + supports_default_metavalue = False + """dialect supports INSERT... VALUES (DEFAULT) syntax""" + + # not sure if this is a real thing but the compiler will deliver it + # if this is the only flag enabled. supports_empty_insert = True + """dialect supports INSERT () VALUES ()""" + supports_multivalues_insert = False supports_is_distinct_from = True |