diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-05-16 13:09:50 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-05-16 13:09:50 -0400 |
commit | 460465a8749aecff761e1c81c77d7c23e8672789 (patch) | |
tree | 958437d4e37a6a7cb28a5c53d6dd33f6ea4d5f23 /lib/sqlalchemy/dialects/postgresql/base.py | |
parent | acb13668c2988179dbee68f599492a533e817d0e (diff) | |
download | sqlalchemy-460465a8749aecff761e1c81c77d7c23e8672789.tar.gz |
- changelog for #2785
- refactor tests a bit
fixes #2785
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index 50918c31e..bcbf0b12c 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -834,9 +834,12 @@ class ARRAY(sqltypes.Concatenable, sqltypes.TypeEngine): meaning they can store any number of dimensions no matter how they were declared. - :param zero_indexes=False: True allow to work with field like with - python's list - use indexes starts with zero, but not starts with - 1 like in ARRAY + :param zero_indexes=False: when True, index values will be converted + between Python zero-based and Postgresql one-based indexes, e.g. + a value of one will be added to all index values before passing + to the database. + + .. versionadded:: 0.9.5 """ if isinstance(item_type, ARRAY): |