On Fri, 30 Nov 2007 21:28:32 -0800 (PST)
Michael Bayer <[EMAIL PROTECTED]> wrote:

> 
> yes...add type_=DateTime to your coalesce() call -
> func.coalesce(date1, date2, type_=DateTime)

OOC, why "type_" and not simply "type"? That is not a Python keyword
like say "class", just a builtin function (er, type! :-) and thus can
be reused freely...

ciao, lele.
-- 
nickname: Lele Gaifax    | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas    | comincerò ad aver paura di chi mi copia.
[EMAIL PROTECTED] |                 -- Fortunato Depero, 1929.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
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