Trait diesel::sql_types::SqlOrd

source ·
pub trait SqlOrd: SqlType { }
Expand description

Marker trait for types which can be used with MAX and MIN

Implementors§

source§

impl SqlOrd for BigInt

source§

impl SqlOrd for Date

source§

impl SqlOrd for Datetime

Available on crate feature mysql_backend only.
source§

impl SqlOrd for Double

source§

impl SqlOrd for Float

source§

impl SqlOrd for Integer

source§

impl SqlOrd for Interval

source§

impl SqlOrd for SmallInt

source§

impl SqlOrd for Text

source§

impl SqlOrd for Time

source§

impl SqlOrd for Timestamp

source§

impl SqlOrd for Timestamptz

Available on crate feature postgres_backend only.
source§

impl SqlOrd for Unsigned<BigInt>

Available on crate feature mysql_backend only.
source§

impl SqlOrd for Unsigned<Integer>

Available on crate feature mysql_backend only.
source§

impl SqlOrd for Unsigned<SmallInt>

Available on crate feature mysql_backend only.
source§

impl<T> SqlOrd for Nullable<T>
where T: SqlOrd + SqlType<IsNull = NotNull>,

source§

impl<T: SqlOrd> SqlOrd for Array<T>

Available on crate feature postgres_backend only.