BOOLEAN

Constant BOOLEAN 

Source
pub const BOOLEAN: TypeMarker;
Expand description

Specifies a BOOLEAN column (stored as INTEGER 0/1).

§Example

#[column(boolean)]
active: bool,

SQLite has no native BOOLEAN. Values are stored as INTEGER (0 for false, 1 for true).

See: https://sqlite.org/datatype3.html#boolean_datatype