| 1 |
//! PostgreSQL related query builder extensions |
| 2 |
//! |
| 3 |
//! Everything in this module is re-exported from database agnostic locations. |
| 4 |
//! You should rely on the re-exports rather than this module directly. It is |
| 5 |
//! kept separate purely for documentation purposes. |
| 6 |
|
| 7 |
pub(crate) mod array; |
| 8 |
#[cfg(all(feature = "with-deprecated", not(feature = "without-deprecated")))] |
| 9 |
pub(crate) mod array_comparison; |
| 10 |
pub(crate) mod expression_methods; |
| 11 |
pub mod extensions; |
| 12 |
pub mod functions; |
| 13 |
pub(crate) mod helper_types; |
| 14 |
pub(crate) mod operators; |
| 15 |
|
| 16 |
mod date_and_time; |
| 17 |
|
| 18 |
/// PostgreSQL specific expression DSL methods. |
| 19 |
/// |
| 20 |
/// This module will be glob imported by |
| 21 |
/// [`diesel::dsl`](crate::dsl) when compiled with the `feature = |
| 22 |
/// "postgres"` flag. |
| 23 |
pub mod dsl { |
| 24 |
#[cfg(all(feature = "with-deprecated", not(feature = "without-deprecated")))] |
| 25 |
#[doc(inline)] |
| 26 |
#[allow(deprecated)] |
| 27 |
pub use super::array_comparison::{all, any}; |
| 28 |
|
| 29 |
#[doc(inline)] |
| 30 |
pub use super::array::{array, IntoArrayExpression}; |
| 31 |
|
| 32 |
#[doc(inline)] |
| 33 |
pub use super::extensions::*; |
| 34 |
|
| 35 |
#[doc(inline)] |
| 36 |
pub use super::functions::*; |
| 37 |
} |