summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/expression.py
diff options
context:
space:
mode:
authorAntti Haapala <antti.haapala@anttipatterns.com>2015-01-08 14:32:08 +0200
committerAntti Haapala <antti.haapala@anttipatterns.com>2015-01-08 14:32:08 +0200
commit1ad2647d2869226fc2f441de4c4e4984806231e0 (patch)
treebc203c6396bde743affa447d23bf676105da0a69 /lib/sqlalchemy/sql/expression.py
parentb8a8cdd1ff47b5774662f4c61fe49382b967de02 (diff)
downloadsqlalchemy-pr/156.tar.gz
Support for the WITHIN GROUP (ORDER BY) clauses (within_group/WithinGroup).pr/156
Diffstat (limited to 'lib/sqlalchemy/sql/expression.py')
-rw-r--r--lib/sqlalchemy/sql/expression.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/expression.py b/lib/sqlalchemy/sql/expression.py
index 2218bd660..970fa15dc 100644
--- a/lib/sqlalchemy/sql/expression.py
+++ b/lib/sqlalchemy/sql/expression.py
@@ -36,7 +36,8 @@ from .elements import ClauseElement, ColumnElement,\
True_, False_, BinaryExpression, Tuple, TypeClause, Extract, \
Grouping, not_, \
collate, literal_column, between,\
- literal, outparam, type_coerce, ClauseList, FunctionFilter
+ literal, outparam, type_coerce, ClauseList, FunctionFilter, \
+ WithinGroup
from .elements import SavepointClause, RollbackToSavepointClause, \
ReleaseSavepointClause
@@ -99,6 +100,8 @@ update = public_factory(Update, ".expression.update")
delete = public_factory(Delete, ".expression.delete")
funcfilter = public_factory(
FunctionFilter, ".expression.funcfilter")
+within_group = public_factory(
+ WithinGroup, ".expression.within_group")
# internal functions still being called from tests and the ORM,