rusql_alchemy/db/types.rs
1#[cfg(feature = "postgres")]
2pub type Serial = i32;
3
4pub type Integer = i32;
5pub type Text = String;
6pub type Float = f64;
7pub type Date = String;
8pub type DateTime = String;
9pub type Boolean = i32;
10
11#[allow(non_upper_case_globals)]
12pub const True: i32 = 1;
13#[allow(non_upper_case_globals)]
14pub const False: i32 = 0;