pub struct SqlBuilder { /* private fields */ }
Implementations§
Source§impl SqlBuilder
impl SqlBuilder
pub fn new() -> Self
pub fn from_sql_str(sql: impl Into<SqlStr>) -> Self
pub fn no_space(&mut self, s: impl Into<SqlStr>)
pub fn space_after(&mut self, s: impl Into<SqlStr>)
pub fn space_before(&mut self, s: impl Into<SqlStr>)
pub fn space(&mut self, s: impl Into<SqlStr>)
pub fn param(&mut self)
pub fn prepend(&mut self, sql: SqlBuilder)
pub fn append(&mut self, sql: SqlBuilder)
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for SqlBuilder
impl Clone for SqlBuilder
Source§fn clone(&self) -> SqlBuilder
fn clone(&self) -> SqlBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SqlBuilder
impl Debug for SqlBuilder
Auto Trait Implementations§
impl Freeze for SqlBuilder
impl RefUnwindSafe for SqlBuilder
impl Send for SqlBuilder
impl Sync for SqlBuilder
impl Unpin for SqlBuilder
impl UnwindSafe for SqlBuilder
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