diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-12-17 14:03:20 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-12-17 14:03:20 -0500 |
commit | 2c3afb4dcb6bedd5189ec7e5e25afaa4636be4c9 (patch) | |
tree | 25c3aa98c01b2df887688dc2bcd704d0200b1da2 /lib/sqlalchemy/dialects/postgresql/base.py | |
parent | 207aaf2f41cff5970b34999d3cfc845a3b0df29c (diff) | |
parent | c64b7aabab3357b6587a23cf010c4299479291d0 (diff) | |
download | sqlalchemy-2c3afb4dcb6bedd5189ec7e5e25afaa4636be4c9.tar.gz |
Merge branch 'issue_2581' of github.com:nathan-rice/sqlalchemy into pg_json
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index d3380afdd..a7f838009 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -1246,6 +1246,9 @@ class PGTypeCompiler(compiler.GenericTypeCompiler): def visit_HSTORE(self, type_): return "HSTORE" + def visit_JSON(self, type_): + return "JSON" + def visit_INT4RANGE(self, type_): return "INT4RANGE" |