diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2022-02-25 17:47:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@ci3.zzzcomputing.com> | 2022-02-25 17:47:44 +0000 |
commit | 2d97c388eae4345840f745337ec033045651b36d (patch) | |
tree | 50ffde647a0506e86de955af8ea3685c65f20b9d /lib/sqlalchemy/sql/compiler.py | |
parent | 51e6a62ab371897d646a5986b9139838402c57df (diff) | |
parent | b9d231869d7e39decabdec12478e359c4dcb95ee (diff) | |
download | sqlalchemy-2d97c388eae4345840f745337ec033045651b36d.tar.gz |
Merge "Implement generic Double and related fixed types" into main
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
-rw-r--r-- | lib/sqlalchemy/sql/compiler.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql/compiler.py b/lib/sqlalchemy/sql/compiler.py index b140f9297..131281a16 100644 --- a/lib/sqlalchemy/sql/compiler.py +++ b/lib/sqlalchemy/sql/compiler.py @@ -4888,6 +4888,12 @@ class GenericTypeCompiler(TypeCompiler): def visit_FLOAT(self, type_, **kw): return "FLOAT" + def visit_DOUBLE(self, type_, **kw): + return "DOUBLE" + + def visit_DOUBLE_PRECISION(self, type_, **kw): + return "DOUBLE PRECISION" + def visit_REAL(self, type_, **kw): return "REAL" @@ -5006,6 +5012,9 @@ class GenericTypeCompiler(TypeCompiler): def visit_float(self, type_, **kw): return self.visit_FLOAT(type_, **kw) + def visit_double(self, type_, **kw): + return self.visit_DOUBLE(type_, **kw) + def visit_numeric(self, type_, **kw): return self.visit_NUMERIC(type_, **kw) |