summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-04-18 14:11:44 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-04-18 14:11:44 -0400
commit72915f1e8c5d07ca82e38dec9fb072707b5ffc2a (patch)
treec0897dedc089dcba926e21ae2b0a5b61544b42fe /lib/sqlalchemy/dialects/postgresql/base.py
parent6e83367c2171decfca53a50b5360ae50ba23efaa (diff)
downloadsqlalchemy-72915f1e8c5d07ca82e38dec9fb072707b5ffc2a.tar.gz
added detailed documentation regarding ORM performance in conjunction with mutabletype.
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/base.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py
index 72251c8d5..7de5cafad 100644
--- a/lib/sqlalchemy/dialects/postgresql/base.py
+++ b/lib/sqlalchemy/dialects/postgresql/base.py
@@ -142,6 +142,15 @@ class UUID(sqltypes.TypeEngine):
PGUuid = UUID
class ARRAY(sqltypes.MutableType, sqltypes.Concatenable, sqltypes.TypeEngine):
+ """Postgresql ARRAY type.
+
+ Represents values as Python lists.
+
+ **Note:** be sure to read the notes for
+ :class:`~sqlalchemy.types.MutableType` regarding ORM
+ performance implications.
+
+ """
__visit_name__ = 'ARRAY'
def __init__(self, item_type, mutable=True):