pub trait HavingClauses {
// Required methods
fn having(&mut self, column: &str, operator: &str, value: Value);
fn having_raw(&mut self, sql: &str, binds: Option<Vec<Value>>);
fn having_between(&mut self, column: &str, values: [Value; 2]);
fn having_in(&mut self, column: &str, values: Vec<Value>);
fn having_not_in(&mut self, column: &str, values: Vec<Value>);
}Expand description
Trait for HAVING clause operations
Required Methods§
Sourcefn having_raw(&mut self, sql: &str, binds: Option<Vec<Value>>)
fn having_raw(&mut self, sql: &str, binds: Option<Vec<Value>>)
Add a HAVING condition with raw SQL
Sourcefn having_between(&mut self, column: &str, values: [Value; 2])
fn having_between(&mut self, column: &str, values: [Value; 2])
Add a HAVING BETWEEN condition
Sourcefn having_not_in(&mut self, column: &str, values: Vec<Value>)
fn having_not_in(&mut self, column: &str, values: Vec<Value>)
Add a HAVING NOT IN condition