Inman, the version you posted is the "old" version of SQLiteStudio.
Back to my original problem.
It doesn't have boolean.
How do you handle booleans in android sqlite?
:BangHead:
regards, Ricky
I created a simple table :
Shifts
TableID Int Primary Key Not Null
IsLocked boolean
then when I run this sql in the Execute Sql pane on sql studio
Insert Into Shifts (TableID,IsLocked) Values (1,true)
it threw an error
changing it to
Insert Into Shifts (TableID,IsLocked) Values (1,1)
worked
So I'll store them as Int with false=0 and true=1
cheers, Ricky
These types are synonyms for TINYINT(1). A value of zero is considered false. Nonzero values are considered true
Back to my original problem.
It doesn't have boolean.
How do you handle booleans in android sqlite?
:BangHead:
regards, Ricky
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?