NUMERIC

Constant NUMERIC 

Source
pub const NUMERIC: TypeMarker;
Expand description

Specifies a NUMERIC column type.

§Example

#[column(numeric)]
amount: f64,

NUMERIC columns store values as INTEGER, REAL, or TEXT depending on the value.

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