]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
small fix
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 25 Oct 2008 18:00:37 +0000 (18:00 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 25 Oct 2008 18:00:37 +0000 (18:00 +0000)
lib/sqlalchemy/sql/expression.py

index 360d5b24af8886effd9159ee4cf96ac3bce6ac3d..d937d05079e23f324f6909e412edce72cc25b28e 100644 (file)
@@ -1951,6 +1951,10 @@ class _TextClause(ClauseElement):
     _bind_params_regex = re.compile(r'(?<![:\w\x5c]):(\w+)(?!:)', re.UNICODE)
     supports_execution = True
 
+    @property
+    def _select_iterable(self):
+        return (self,)
+        
     _hide_froms = []
 
     def __init__(self, text = "", bind=None, bindparams=None, typemap=None, autocommit=False):