lazywhere = primaryjoin.copy_container()
li = BinaryVisitor(visit_binary)
lazywhere.accept_visitor(li)
- print "PRIMARYJOIN", str(lazywhere), [b.key for b in binds.values()]
+ #print "PRIMARYJOIN", str(lazywhere), [b.key for b in binds.values()]
if secondaryjoin is not None:
lazywhere = sql.and_(lazywhere, secondaryjoin)
return (lazywhere, binds, reverselookup)
engine = property(_get_engine)
def _get_table_key(engine, name, schema):
- if schema is not None and schema == engine.get_default_schema_name():
+ if schema is not None:# and schema == engine.get_default_schema_name():
schema = None
if schema is None:
return name