On Aug 16, 10:06 am, JP <[EMAIL PROTECTED]> wrote:
>
> What's odd here is that I'm not setting the value myself -- it's
> getting set in pre_exec by the column default, which (I believe) is
> running the func in sqlite and returning the results, which I'd think
> should wind up with a datetime.datetime. I'll try to put together a
> minimal test case that shows what's happening.


right...youd have to say
default=func.current_timestamp(type_=DateTime) for now.

so yeah accepting the date format that sqlite actually produces is
probably reasonable here.


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