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 more