return meth(obj, **kwargs)
def is_subquery(self):
- return self.stack and self.stack[-1].get('from')
+ return self.stack and len(self.stack) > 1 and self.stack[-1].get('from')
def construct_params(self, params=None):
"""return a dictionary of bind parameter keys and values"""
r = s.execute(search_key=None).fetchall()
assert len(r) == 0
- @testing.fails_on('firebird', 'maxdb', 'oracle')
+ @testing.fails_on('firebird', 'maxdb', 'oracle', 'mssql')
def test_in_filtering_advanced(self):
"""test the behavior of the in_() function when comparing against an empty collection."""