diesel/pg/expression/mod.rs
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
7pub(crate) mod array;
8#[cfg(all(feature = "with-deprecated", not(feature = "without-deprecated")))]
9pub(crate) mod array_comparison;
10pub(crate) mod expression_methods;
11pub mod extensions;
12pub mod functions;
13pub(crate) mod helper_types;
14pub(crate) mod operators;
15
16mod 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.
23pub 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}