[go: up one dir, main page]

diesel 0.4.1

A safe, extensible ORM and Query builder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use types::{self, NativeSqlType};

pub trait SqlOrd {}

impl SqlOrd for types::SmallInt {}
impl SqlOrd for types::Integer {}
impl SqlOrd for types::BigInt {}
impl SqlOrd for types::Float {}
impl SqlOrd for types::Double {}
impl SqlOrd for types::VarChar {}
impl SqlOrd for types::Text {}
impl SqlOrd for types::Date {}
impl SqlOrd for types::Interval {}
impl SqlOrd for types::Time {}
impl SqlOrd for types::Timestamp {}
impl<T: SqlOrd + NativeSqlType> SqlOrd for types::Nullable<T> {}