INTEGER

Constant INTEGER 

Source
pub const INTEGER: TypeMarker;
Expand description

Specifies an INTEGER column type.

§Example

#[column(integer, primary)]
id: i32,

INTEGER columns store signed integers up to 8 bytes (64-bit). SQLite uses a variable-length encoding, so small values use less space.

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