Skip to main content

native_sql_type

Function native_sql_type 

Source
pub fn native_sql_type(ty: &Type) -> Option<SqlType>
Expand description

Map a Rust type to its native SQLite storage type. Anything not listed here needs #[orm(json)] or a DbEnum.