Struct fire_postgres::query::SqlBuilder
source · 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 to_string(&self) -> String
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 moreAuto Trait Implementations§
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