src/data_types.rs
raw| 1 | //! Structs to represent the primitive equivalent of SQL types where |
| 2 | //! there is no existing Rust primitive, or where using it would be |
| 3 | //! confusing (such as date and time types). This module will re-export |
| 4 | //! all backend specific data structures when compiled against that |
| 5 | //! backend. |
| 6 | #[cfg(feature = "postgres_backend")] |
| 7 | pub use crate::pg::data_types::*; |
| 8 | |
| 9 | #[cfg(feature = "mysql_backend")] |
| 10 | pub use crate::mysql::data_types::*; |