On Jul 13, 2007, at 3:41 PM, robertz23 wrote:

>
>   Thanks for the answers. I've tried what Christoph told, but returns
> the same error.  What I'm trying now is to override that column to be
> a DateTime type because in this case SQLAlchemy doesn't give me any
> errors, so I think you are right Michael, is because of the driver.
> Can tell me how to override this column so that SQLAlchemy can see it
> as a datetime. I have tried this, I do not know if this is correct or
> not:
>
> email_table = Table('email', metadata, Column('last_modified',
> DateTime()), autoload=True)
>

that is correct although the mysql reflection should detect that type  
from the TIMESTAMP column type regardless.




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