On Dec 3, 2007, at 4:05 PM, Mike Orr wrote:

>
> On Nov 30, 2007 9:28 PM, Michael Bayer <[EMAIL PROTECTED]> wrote:
>>
>> yes...add type_=DateTime to your coalesce() call -
>> func.coalesce(date1, date2, type_=DateTime)
>
> This doesn't work, I'm afraid.

oh...well actually in this case its because MSDateTime doesn't do any  
date/time conversion, since mysqldb returns datetime objects for us  
and we dont need to convert from strings...we only do it for sqlite  
right now.  if MySQL itself is returning a datetime, then MySQLdb  
should as well, is it possible this is a bug on the MySQLdb side ?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to