Struct sql::grammar::statement::SelectFrom
[−]
[src]
pub struct SelectFrom { // some fields omitted }
A SELECT FROM
statement.
Methods
impl SelectFrom
[src]
fn new<T: ToString>(table: T) -> SelectFrom
Create a SELECT FROM
statement.
fn table<T: ToString>(self, name: T) -> Self
Set the table.
fn column<T: ToString>(self, name: T) -> Self
Add a column.
fn columns<T: ToString>(self, names: &[T]) -> Self
Add multiple columns.
fn so_that<T>(self, condition: T) -> Self where T: Condition + 'static
Add a condition.
fn order_by<T>(self, expression: T) -> Self where T: Expression + 'static
Add an order.
fn limit(self, count: usize) -> Self
Set the limit.
Trait Implementations
impl Default for SelectFrom
[src]
fn default() -> SelectFrom
Returns the "default value" for a type. Read more