Hallo,

Bjorn Bringert wrote:

This is SQLite's fault. In SQLite, all types are aliases for STRING.
Whatever type you use in the create and insert, you will get strings
back.


That's not true. SQLite has integers (64 bits) and reals. But, if you try to read the field as text it will gladly convert it for you. For reading as the correcting type, the binding should have used sqlite3_column_get_type first.

Cheers,
-alex

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to