Re: [sqlalchemy] remapping column type

2010-07-07 Thread Michael Bayer
On Jul 7, 2010, at 1:30 AM, Lance Edgar wrote: Hi, I was wondering what method might be used (assuming it's possible) to redefine a column's attribute type after the mapping has already been made? Specifically I have the following scenario: from sqlalchemy import * from sqlalchemy.orm

[sqlalchemy] remapping column type

2010-07-06 Thread Lance Edgar
Hi, I was wondering what method might be used (assuming it's possible) to redefine a column's attribute type after the mapping has already been made? Specifically I have the following scenario: from sqlalchemy import * from sqlalchemy.orm import mapper metadata = MetaData() orders = Table(