I have a table with a Date column. Why does a python datetime match the value and a python date does not? For example:
# example table institutions_table = Table('institutions', meta, Column('id', Integer, primary_key=True), Column('report_date', Date), ... this works: session.query(Institutions).filter(Institution.report_date==datetime.datetime(2007,6,30)).all() and this does not: session.query(Institutions).filter(Institution.report_date==datetime.date(2007,6,30)).all() What am I missing? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---