[][src]Trait quaint::ast::Orderable

pub trait Orderable<'a> where
    Self: Sized
{ fn order(self, order: Option<Order>) -> OrderDefinition<'a>; fn ascend(self) -> OrderDefinition<'a> { ... }
fn descend(self) -> OrderDefinition<'a> { ... } }

An item that can be used in the ORDER BY statement

Required methods

fn order(self, order: Option<Order>) -> OrderDefinition<'a>

Order by self in the given order

Loading content...

Provided methods

fn ascend(self) -> OrderDefinition<'a>

Change the order to ASC

fn descend(self) -> OrderDefinition<'a>

Change the order to DESC

Loading content...

Implementations on Foreign Types

impl<'a> Orderable<'a> for &'a str[src]

Loading content...

Implementors

impl<'a> Orderable<'a> for Column<'a>[src]

Loading content...