Module types

Module types 

Source
Available on (crate features mysql or sqlite or postgres or mssql or odbc) and crate feature any only.
Expand description

Conversions between Rust and standard SQL types.

§Types

Rust typeSQL type(s)
boolBOOLEAN
i16SMALLINT
i32INT
i64BIGINT
f32FLOAT
f64DOUBLE
&str, StringVARCHAR, CHAR, TEXT

§Nullable

In addition, Option<T> is supported where T implements Type. An Option<T> represents a potentially NULL value from SQL.