Trait tc_table::TableOrder [−][src]
pub trait TableOrder: TableInstance {
type OrderBy: TableInstance;
type Reverse: TableInstance;
fn order_by(
self,
columns: Vec<Id>,
reverse: bool
) -> TCResult<Self::OrderBy>;
fn reverse(self) -> TCResult<Self::Reverse>;
fn validate_order(&self, order: &[Id]) -> TCResult<()>;
}Expand description
Table sort methods
Associated Types
type OrderBy: TableInstance
type OrderBy: TableInstance
The type of Table returned by this instance’s order_by method.
type Reverse: TableInstance
type Reverse: TableInstance
The type of Table returned by this instance’s reversed method.
Required methods
Return an ordered view of this table.