Skip to main content

diesel/
data_types.rs

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")]
7pub use crate::pg::data_types::*;
8
9#[cfg(any(feature = "mysql_backend", feature = "mariadb_backend"))]
10pub use crate::mysql_like::data_types::*;