I dont know how the boolean data type column defined in sqlite3 is able to store a text type data.
I did this:
CREATE TABLE `sometable` (
`name` text,
`bool_field` boolean
);
and ran the below insert query:
insert into `sometable` values ('name1','something');
and it worked like a charm without throwing any error. I am surprised - guys any idea why ? I know about the association of boolean field in sqlite3 is with numeric 1 and 0. but how come text getting stored here ?
Version Info:
SQLite Version 3.9.2
Used a client called "DB Browser for SQLite" for Ubuntu Version 3.7.0 (built on Qt version 5.5.1)