summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2006-01-04 05:04:42 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2006-01-04 05:04:42 +0000
commitc55454e536071f966393aa66f85d2993be296a8a (patch)
tree586d3c671745b5d5c914a0c03625326f470d3d1f /lib/sqlalchemy/sql.py
parente1a0869dff9a99bf336a101d17a1ba6f7cc77ad0 (diff)
downloadsqlalchemy-c55454e536071f966393aa66f85d2993be296a8a.tar.gz
outerjoin onclause is optional
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."""