pub struct SqlMax<S: SelectableTables, E: SqlExpression<S>>where
E::SqlType: OrderableSqlType,{ /* private fields */ }Implementations§
Source§impl<S: SelectableTables, E: SqlExpression<S>> SqlMax<S, E>where
E::SqlType: OrderableSqlType,
impl<S: SelectableTables, E: SqlExpression<S>> SqlMax<S, E>where
E::SqlType: OrderableSqlType,
Trait Implementations§
Source§impl<S: SelectableTables, E: SqlExpression<S>> SqlExpression<S> for SqlMax<S, E>where
E::SqlType: OrderableSqlType,
impl<S: SelectableTables, E: SqlExpression<S>> SqlExpression<S> for SqlMax<S, E>where
E::SqlType: OrderableSqlType,
Source§const IS_AGGREGATE: bool = true
const IS_AGGREGATE: bool = true
Is this sql expression an aggregate expression?
Source§type RustType = <E as SqlExpression<S>>::RustType
type RustType = <E as SqlExpression<S>>::RustType
The rust type of this sql expression.
Source§type SqlType = <E as SqlExpression<S>>::SqlType
type SqlType = <E as SqlExpression<S>>::SqlType
The sql type of this sql expresion.
Source§fn write_sql_string<'s, 'a>(
&'s self,
f: &mut String,
parameter_binder: &mut ParameterBinder<'a>,
) -> Resultwhere
's: 'a,
fn write_sql_string<'s, 'a>(
&'s self,
f: &mut String,
parameter_binder: &mut ParameterBinder<'a>,
) -> Resultwhere
's: 'a,
Writes the sql expression as an sql string which can be evaluated by the
database.
Source§fn write_parenthesized_sql_string<'s, 'a>(
&'s self,
f: &mut String,
parameter_binder: &mut ParameterBinder<'a>,
) -> Resultwhere
's: 'a,
fn write_parenthesized_sql_string<'s, 'a>(
&'s self,
f: &mut String,
parameter_binder: &mut ParameterBinder<'a>,
) -> Resultwhere
's: 'a,
Writes the sql expression as an sql string surrounded by parentheses.
Source§fn equals<O: SqlExpression<S, SqlType = <Self as SqlExpression<S>>::SqlType>>(
self,
other: O,
) -> SqlConditionEq<S, Self, O>
fn equals<O: SqlExpression<S, SqlType = <Self as SqlExpression<S>>::SqlType>>( self, other: O, ) -> SqlConditionEq<S, Self, O>
Returns a condition which will be true if the given expression is equal
to this one.
Source§fn not_equals<O: SqlExpression<S, SqlType = <Self as SqlExpression<S>>::SqlType>>(
self,
other: O,
) -> SqlConditionNotEq<S, Self, O>
fn not_equals<O: SqlExpression<S, SqlType = <Self as SqlExpression<S>>::SqlType>>( self, other: O, ) -> SqlConditionNotEq<S, Self, O>
Returns a condition which will be true if the given expression is not
equal to this one.
Auto Trait Implementations§
impl<S, E> Freeze for SqlMax<S, E>where
E: Freeze,
impl<S, E> RefUnwindSafe for SqlMax<S, E>where
E: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, E> Send for SqlMax<S, E>
impl<S, E> Sync for SqlMax<S, E>
impl<S, E> TypesNotEqual for SqlMax<S, E>where
E: TypesNotEqual,
S: TypesNotEqual,
impl<S, E> Unpin for SqlMax<S, E>
impl<S, E> UnwindSafe for SqlMax<S, E>where
E: UnwindSafe,
S: UnwindSafe,
Blanket Implementations§
Source§impl<S, Lhs, Rhs> BooleanAndableSqlExpression<S, Rhs> for Lhswhere
S: SelectableTables,
Lhs: SqlExpression<S, SqlType = SqlBool>,
Rhs: SqlExpression<S, SqlType = SqlBool>,
impl<S, Lhs, Rhs> BooleanAndableSqlExpression<S, Rhs> for Lhswhere
S: SelectableTables,
Lhs: SqlExpression<S, SqlType = SqlBool>,
Rhs: SqlExpression<S, SqlType = SqlBool>,
fn and(self, other: Rhs) -> SqlBooleanAnd<S, Self, Rhs>
Source§impl<S, Lhs, Rhs> BooleanOrableSqlExpression<S, Rhs> for Lhswhere
S: SelectableTables,
Lhs: SqlExpression<S, SqlType = SqlBool>,
Rhs: SqlExpression<S, SqlType = SqlBool>,
impl<S, Lhs, Rhs> BooleanOrableSqlExpression<S, Rhs> for Lhswhere
S: SelectableTables,
Lhs: SqlExpression<S, SqlType = SqlBool>,
Rhs: SqlExpression<S, SqlType = SqlBool>,
fn or(self, other: Rhs) -> SqlBooleanOr<S, Self, Rhs>
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<S, T> LikeableSqlExpression<S> for T
impl<S, T> LikeableSqlExpression<S> for T
Source§fn like<Rhs: SqlExpression<S, SqlType = SqlText>>(
self,
like_pattern: Rhs,
) -> SqlConditionLike<S, Self, Rhs>
fn like<Rhs: SqlExpression<S, SqlType = SqlText>>( self, like_pattern: Rhs, ) -> SqlConditionLike<S, Self, Rhs>
Returns a condition which will be true if this string matches the given
pattern. Read more
Source§fn not_like<Rhs: SqlExpression<S, SqlType = SqlText>>(
self,
like_pattern: Rhs,
) -> SqlConditionNotLike<S, Self, Rhs>
fn not_like<Rhs: SqlExpression<S, SqlType = SqlText>>( self, like_pattern: Rhs, ) -> SqlConditionNotLike<S, Self, Rhs>
Returns a condition which will be true if this string doesn’t match the
given pattern. Read more