[sqlalchemy] reflecting (autoload=True) MySQL tinyint(1) fields

2010-03-27 Thread Lloyd Kvam
I've just discovered that some tinyint (8-bit) fields have had their values limited to 0 and 1 regardless of actual value supplied. Digging through the documentation, I've learned that when MySQL tables are reflected, tinyint(1) fields are processed as booleans. I did not find emails from others

Re: [sqlalchemy] reflecting (autoload=True) MySQL tinyint(1) fields

2010-03-27 Thread Michael Bayer
On Mar 27, 2010, at 4:16 PM, Lloyd Kvam wrote: I've just discovered that some tinyint (8-bit) fields have had their values limited to 0 and 1 regardless of actual value supplied. Digging through the documentation, I've learned that when MySQL tables are reflected, tinyint(1) fields are

Re: [sqlalchemy] reflecting (autoload=True) MySQL tinyint(1) fields

2010-03-27 Thread Michael Bayer
On Mar 27, 2010, at 5:17 PM, Michael Bayer wrote: On Mar 27, 2010, at 4:16 PM, Lloyd Kvam wrote: I've just discovered that some tinyint (8-bit) fields have had their values limited to 0 and 1 regardless of actual value supplied. Digging through the documentation, I've learned that when