src/query_dsl/nullable_select_dsl.rs
raw| 1 | /// The `nullable` method |
| 2 | /// |
| 3 | /// This trait should not be relied on directly by most apps. Its behavior is |
| 4 | /// provided by [`QueryDsl`]. However you may need a where clause on this trait |
| 5 | /// to call `nullable` from generic code. |
| 6 | /// |
| 7 | /// [`QueryDsl`]: crate::QueryDsl::nullable() |
| 8 | pub trait SelectNullableDsl { |
| 9 | /// The return type of `nullable` |
| 10 | type Output; |
| 11 | |
| 12 | /// See the trait documentation |
| 13 | fn nullable(self) -> Self::Output; |
| 14 | } |