Function diesel::dsl::min
[−]
[src]
pub fn min<ST, T>(t: T) -> Min<T> where
ST: SqlOrd,
T: Expression<SqlType = ST>,
Represents a SQL MIN
function. This function can only take types which are
ordered.
Examples
assert_eq!(Ok(Some(4)), animals.select(min(legs)).first(&connection));