]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
fix the default here
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 25 Sep 2010 20:15:32 +0000 (16:15 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 25 Sep 2010 20:15:32 +0000 (16:15 -0400)
lib/sqlalchemy/orm/query.py

index 2d3f61da7e0a3a97f5e75271575465634af3fceb..c72c1fe9d3b79d7054bc82cbd43a868ac61be695 100644 (file)
@@ -815,7 +815,7 @@ class Query(object):
                 opt.process_query(self)
 
     @_generative()
-    def with_hint(self, selectable, text, dialect_name=None):
+    def with_hint(self, selectable, text, dialect_name='*'):
         """Add an indexing hint for the given entity or selectable to 
         this :class:`Query`.