Boris Dušek wrote:
> 2. I was assigning Python-bool value (True,False) to a TINYINT(1)
> column.
> 
> But No 2. - maybe sqlalchemy could know that True is "1" and False is
> "0" because MySQL (the database to which I connect) treats its own
> BOOL type as an alias to "TINYINT(1)"?

The Boolean column type does these conversions for MySQL BOOL and 
boolean TINYINTs.


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