pub trait WhereClauses {
Show 16 methods // Required methods fn where_clause( &mut self, column: &str, operator: Operator, value: Value ) -> &mut Self; fn where_eq(&mut self, column: &str, value: Value) -> &mut Self; fn where_not_eq(&mut self, column: &str, value: Value) -> &mut Self; fn where_in(&mut self, column: &str, value: Vec<Value>) -> &mut Self; fn where_not_in(&mut self, column: &str, value: Vec<Value>) -> &mut Self; fn where_null(&mut self, column: &str) -> &mut Self; fn where_not_null(&mut self, column: &str) -> &mut Self; fn where_exists(&mut self, column: &str) -> &mut Self; fn where_not_exists(&mut self, column: &str) -> &mut Self; fn where_between(&mut self, column: &str, value: [Value; 2]) -> &mut Self; fn where_not_between( &mut self, column: &str, value: [Value; 2] ) -> &mut Self; fn where_like(&mut self, column: &str, value: Value) -> &mut Self; fn where_not_like(&mut self, column: &str, value: Value) -> &mut Self; fn where_subquery(&mut self, value: impl FnMut(&mut QueryBuilder)); fn or(&mut self) -> &mut QueryBuilder; fn where_raw(&mut self, sql: &str, val: Option<Vec<Value>>) -> &mut Self;
}

Required Methods§

source

fn where_clause( &mut self, column: &str, operator: Operator, value: Value ) -> &mut Self

source

fn where_eq(&mut self, column: &str, value: Value) -> &mut Self

source

fn where_not_eq(&mut self, column: &str, value: Value) -> &mut Self

source

fn where_in(&mut self, column: &str, value: Vec<Value>) -> &mut Self

source

fn where_not_in(&mut self, column: &str, value: Vec<Value>) -> &mut Self

source

fn where_null(&mut self, column: &str) -> &mut Self

source

fn where_not_null(&mut self, column: &str) -> &mut Self

source

fn where_exists(&mut self, column: &str) -> &mut Self

source

fn where_not_exists(&mut self, column: &str) -> &mut Self

source

fn where_between(&mut self, column: &str, value: [Value; 2]) -> &mut Self

source

fn where_not_between(&mut self, column: &str, value: [Value; 2]) -> &mut Self

source

fn where_like(&mut self, column: &str, value: Value) -> &mut Self

source

fn where_not_like(&mut self, column: &str, value: Value) -> &mut Self

source

fn where_subquery(&mut self, value: impl FnMut(&mut QueryBuilder))

source

fn or(&mut self) -> &mut QueryBuilder

source

fn where_raw(&mut self, sql: &str, val: Option<Vec<Value>>) -> &mut Self

Object Safety§

This trait is not object safe.

Implementors§