diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2014-07-07 10:40:03 -0400 |
---|---|---|
committer | mike bayer <mike_mp@zzzcomputing.com> | 2014-07-07 10:40:03 -0400 |
commit | c9dceb0dfad9d8a57f531614a1a1403a99375300 (patch) | |
tree | a708ebe696e860009e190df897d7f443b889b83d /lib/sqlalchemy/dialects/postgresql/base.py | |
parent | 7c29cff14d8f3dd5ecfb39fdeb8d6a161333d722 (diff) | |
parent | ceeee81017e5fb0ac03f4a102ffd6cce418f0b05 (diff) | |
download | sqlalchemy-c9dceb0dfad9d8a57f531614a1a1403a99375300.tar.gz |
Merge pull request #101 from ddimmich/master
Postgres 9.4 Jsonb support
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 35f335252..6c4031b01 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -1384,6 +1384,9 @@ class PGTypeCompiler(compiler.GenericTypeCompiler): def visit_JSON(self, type_): return "JSON" + def visit_JSONB(self, type_): + return "JSONB" + def visit_INT4RANGE(self, type_): return "INT4RANGE" |