summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2005-10-21 03:43:22 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2005-10-21 03:43:22 +0000
commit7f60baef89be3a84db09a8208a9b625af6b19876 (patch)
treefadc97df7677b11281afcae39e1cd1c4c2701952 /lib/sqlalchemy/sql.py
parent77aba56a1c2fa62ffe0d8e5a564b75a63ebe1902 (diff)
downloadsqlalchemy-7f60baef89be3a84db09a8208a9b625af6b19876.tar.gz
postgres kickin my ass w00p
Diffstat (limited to 'lib/sqlalchemy/sql.py')
-rw-r--r--lib/sqlalchemy/sql.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py
index 03cba3956..6322b9522 100644
--- a/lib/sqlalchemy/sql.py
+++ b/lib/sqlalchemy/sql.py
@@ -463,6 +463,11 @@ class Join(Selectable):
primary_keys = property (lambda self: [c for c in self.left.columns if c.primary_key] + [c for c in self.right.columns if c.primary_key])
+
+ def group_parenthesized(self):
+ """indicates if this Selectable requires parenthesis when grouped into a compound statement"""
+ return False
+
def hash_key(self):
return "Join(%s, %s, %s, %s)" % (repr(self.left.hash_key()), repr(self.right.hash_key()), repr(self.onclause.hash_key()), repr(self.isouter))