summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-05-16 13:09:50 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-05-16 13:09:50 -0400
commit460465a8749aecff761e1c81c77d7c23e8672789 (patch)
tree958437d4e37a6a7cb28a5c53d6dd33f6ea4d5f23 /lib/sqlalchemy/dialects/postgresql/base.py
parentacb13668c2988179dbee68f599492a533e817d0e (diff)
downloadsqlalchemy-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.py9
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):