Skip to main content

OrderByTarget

Trait OrderByTarget 

Source
pub trait OrderByTarget {
    // Required method
    fn write_order_by<C: Columns + ?Sized, M>(&mut self, sort_keys: SortKeys<M>);
}
Expand description

A query that sort keys can be written into: an ORDER BY clause.

Required Methods§

Source

fn write_order_by<C: Columns + ?Sized, M>(&mut self, sort_keys: SortKeys<M>)

Write an ORDER BY column direction, … clause for the sort keys of the model M, in order, each by the column C stores its domain field in; nothing when there are none.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl OrderByTarget for SelectStatement

Source§

fn write_order_by<C: Columns + ?Sized, M>(&mut self, sort_keys: SortKeys<M>)

Implementors§