SQLite can recognize BOOL as a type, but it is stored as a whole, which is rightly referred to by Oli Charlworth.
However, using the BOOL keyword will still work:
CREATE TABLE YourTable( isBool BOOL NOT NULL DEFAULT 0, ); INSERT INTO YourTable (isBool) VALUES (1); INSERT INTO YourTable (isBool) VALUES (4); SELECT * FROM YourTable; isBool
4 will be added to YourTable
source share