Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to define bit column in sqlite? [duplicate]

Sounds like a basic question but I couldn't seem to find it. Is there a way to define in SQLite a column which will be a single bit?

like image 618
user1908466 Avatar asked Dec 03 '13 12:12

user1908466


1 Answers

No.

SQLite does not have a separate Boolean storage class. Instead, Boolean values are stored as integers 0 (false) and 1 (true).

Source

like image 196
juergen d Avatar answered Sep 19 '22 12:09

juergen d