Struct lumus_sql_builder::mysql::select::Select
source · pub struct Select<'a> { /* private fields */ }
Implementations§
source§impl<'a> Select<'a>
impl<'a> Select<'a>
pub fn new() -> Select<'a>
pub fn distinct(&mut self) -> &mut Select<'a>
pub fn from(&mut self, from: &'a str) -> &mut Select<'a>
pub fn columns(&mut self, columns: &'a str) -> &mut Select<'a>
pub fn where_(&mut self, where_: Where) -> &mut Select<'a>
pub fn join( &mut self, table: &str, on: &str, join_type: JoinType ) -> &mut Select<'a>
pub fn group(&mut self, group: &'a str) -> &mut Select<'a>
pub fn order(&mut self, order: &'a str) -> &mut Select<'a>
pub fn limit(&mut self, limit: u32) -> &mut Select<'a>
pub fn offset(&mut self, offset: u32) -> &mut Select<'a>
pub fn build(&self) -> String
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Select<'a>
impl<'a> Send for Select<'a>
impl<'a> Sync for Select<'a>
impl<'a> Unpin for Select<'a>
impl<'a> UnwindSafe for Select<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more