pub struct Sql(/* private fields */);
Implementations§
Source§impl Sql
impl Sql
pub fn new() -> Self
pub fn push(&mut self, expr: SqlExpr)
pub fn arg(&mut self, arg: impl ToSql + Send + Sync + 'static)
pub fn sql(&mut self, s: impl AsRef<str>)
pub fn collapse(self) -> (String, Vec<Box<dyn ToSql + Send + Sync>>)
pub fn expr(&mut self, expr: &Expr)
pub fn comparison_op(&mut self, op: &ComparisonOperator)
pub fn predicate(&mut self, predicate: &Predicate)
Auto Trait Implementations§
impl Freeze for Sql
impl !RefUnwindSafe for Sql
impl Send for Sql
impl Sync for Sql
impl Unpin for Sql
impl !UnwindSafe for Sql
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