diesel::sql_types

Trait 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.