Hi everyone! I'm looking for a way to log queries at a higher level than SQL.. That is, given the class
Base = declarative_base() class DataTest(Base): id = Column(Integer, primary_key = True) propb = Column(Boolean) __tablename__ = "t" right now when I try to print a query restriction: restr=(DataTest.propb==False) print restr I get something like "t.propb = :propb_1" Is there a way to get "propb = False" ? I know I can fetch the operands via restr.left.name and restr.right.value, but what about the operator? Many thanks for your help! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---