bildwelt
E2E FORUM
E2E Bridge E2E Commerce

Reply To: SQLite handling of BOOL

E2E Forum Modeling & Development SQLite handling of BOOL Reply To: SQLite handling of BOOL

#1824

Alfred
Moderator

This answer applies only to SQLite.

If you want to have Boolean in the model you need to use TEXT (or other type which maps to TEXT storage class http://www.sqlite.org/datatype3.html) in the database. True maps to “1” and false to “0” in the database.

If you want to use BOOL in the SQLite database you have to use Integer
in the model.