summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2015-08-27 11:21:25 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2015-08-27 11:22:05 -0400
commit410be197ef5df234205b35f0d318b106a34e7f92 (patch)
tree369b0217b874a68190833f5884b8a37f3043d159 /lib/sqlalchemy/dialects/postgresql/base.py
parente2209f7534255855f33a2afedac913fbefe37484 (diff)
downloadsqlalchemy-410be197ef5df234205b35f0d318b106a34e7f92.tar.gz
- add a postgresql-specific form of array_agg() that injects the
ARRAY type, references #3132
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/base.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py
index 4022db14b..ec12e1145 100644
--- a/lib/sqlalchemy/dialects/postgresql/base.py
+++ b/lib/sqlalchemy/dialects/postgresql/base.py
@@ -518,6 +518,11 @@ as well as array literals:
* :class:`.postgresql.array` - array literal
+* :func:`.postgresql.array_agg` - ARRAY_AGG SQL function
+
+* :class:`.postgresql.aggregate_order_by` - helper for PG's ORDER BY aggregate
+ function syntax.
+
JSON Types
----------