summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/sql.py')
-rw-r--r--lib/sqlalchemy/sql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py
index c60f75268..486fa304e 100644
--- a/lib/sqlalchemy/sql.py
+++ b/lib/sqlalchemy/sql.py
@@ -28,7 +28,7 @@ def asc(column):
"""
return CompoundClause(None, column, "ASC")
-def outerjoin(left, right, onclause, **kwargs):
+def outerjoin(left, right, onclause=None, **kwargs):
"""returns an OUTER JOIN clause element, given the left and right hand expressions,
as well as the ON condition's expression. To chain joins together, use the resulting
Join object's "join()" or "outerjoin()" methods."""