Thanks, everyone for the pointers. Since func is not database agnostic, I think I'll make my own functions in my database module that simply use func so if I ever do switch form mysql to something else at least I'll know where to find all the stuff that needs changing Jose
jose wrote: > I've got a question that I can't find the answer to. I have a table > called seminars with a date field in it to hold the seminar dates. I > want to query the table to find all the dates for a specific year. I > tried query(Seminars).filter(Seminars.c.date.year==2007) but this gave > me an error stating that the col does not have a year property. So > how should I do this? > Jose > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---