Function orders

Source
pub fn orders(ids: &[&str], directions: &[OrderByDirection]) -> Vec<OrderBy>
Expand description

Order by multiple columns i.e. ORDER BY ID0 [ASC|DESC], ID1 [ASC|DESC], …

§Panics

This function will panic if any of the ids cannot be parsed into an identifier.