On Aug 26, 2010, at 8:03 AM, Henning Hraban Ramm wrote:

>>> SQLite doesn't know a real Boolean type, but uses integers.
>>> The SQLite backend should take care of that - seems like it doesn't.
>> 
>> Being fairly wet-behind-the-ears on this stuff... which backend are  
>> you
>> referring to?  sqlite to python, or dabo?
> 
> I don't know, could be in Python's sqlite3 module or in dabo's  
> backend. I presume the latter, but didn't check.


        Generally, the dbapi adapter (sqlite3 in this case) is supposed to do 
the translation between Python types and what the database expects. 
Dates/datetimes are the most typical place where this translation is needed, 
but booleans are also in need of translation when the database does not have a 
native boolean type.


-- Ed Leafe



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to