diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2014-02-16 16:40:04 -0500 |
---|---|---|
committer | mike bayer <mike_mp@zzzcomputing.com> | 2014-02-16 16:40:04 -0500 |
commit | d54ba44c2ce2ae84125b068f5d03c6698e189000 (patch) | |
tree | e37bc7fb5c7b13e0e10bbec47a61008f7cffb81d /lib/sqlalchemy/dialects/postgresql/base.py | |
parent | 4588a0e60358814119655f1af8971ab971812f6c (diff) | |
parent | c7af5618dc959878049ae96e461ee862e97e32ae (diff) | |
download | sqlalchemy-d54ba44c2ce2ae84125b068f5d03c6698e189000.tar.gz |
Merge pull request #64 from LevonXXL/master
python_type for ARRAY (PGArray)
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index 4cd462a72..7b9ee799e 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -834,6 +834,10 @@ class ARRAY(sqltypes.Concatenable, sqltypes.TypeEngine): self.as_tuple = as_tuple self.dimensions = dimensions + @property + def python_type(self): + return list + def compare_values(self, x, y): return x == y |