From c55454e536071f966393aa66f85d2993be296a8a Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 4 Jan 2006 05:04:42 +0000 Subject: [PATCH] outerjoin onclause is optional --- lib/sqlalchemy/sql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py index c60f752683..486fa304ea 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.""" -- 2.47.2