Trait scooby::postgres::statements::Orderable
source · pub trait Orderable {
// Required methods
fn desc(self) -> OrderBy;
fn asc(self) -> OrderBy;
fn nulls_first(self) -> OrderBy;
fn nulls_last(self) -> OrderBy;
}
Expand description
Things that can have ORDER BY
clause options applied to them
Required Methods§
sourcefn nulls_first(self) -> OrderBy
fn nulls_first(self) -> OrderBy
Set NULLS FIRST
option
sourcefn nulls_last(self) -> OrderBy
fn nulls_last(self) -> OrderBy
Set NULLS LAST
option