Module sqlx_core::any::types

source ·
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.