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

Required Associated Types

The type of Table returned by this instance’s order_by method.

The type of Table returned by this instance’s reversed method.

Required Methods

Return an ordered view of this table.

Reverse the order returned by rows.

Return an error if this table does not support ordering by the given columns.

Implementors