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
18mod return_type_helpers {
19    #[allow(unused_imports)]
20    #[doc(inline)]
21    pub use super::functions::return_type_helpers_reexported::*;
22}
23
24/// PostgreSQL specific expression DSL methods.
25///
26/// This module will be glob imported by
27/// [`diesel::dsl`](crate::dsl) when compiled with the `feature =
28/// "postgres"` flag.
29pub mod dsl {
30    #[cfg(all(feature = "with-deprecated", not(feature = "without-deprecated")))]
31    #[doc(inline)]
32    #[allow(deprecated)]
33    pub use super::array_comparison::{all, any};
34
35    #[doc(inline)]
36    pub use super::array::{array, IntoArrayExpression};
37
38    #[doc(inline)]
39    pub use super::extensions::*;
40
41    #[doc(inline)]
42    pub use super::functions::*;
43}