The `where` clause that concatenate multiples calls using the OR operator. If you intended to use the `and` operator you should use the [where_clause](Delete::where_clause) method # Example ``` # use sql_query_builder as sql; let query = sql::Delete::new() .where_clause("login = 'foo'") .where_or("login = 'bar'") .as_string(); # let expected = "WHERE login = 'foo' OR login = 'bar'"; # assert_eq
(mut self, condition: &str)
| 269 | /// OR login = 'bar' |
| 270 | /// ``` |
| 271 | pub fn where_or(mut self, condition: &str) -> Self { |
| 272 | push_unique(&mut self._where, (LogicalOperator::Or, condition.trim().to_string())); |
| 273 | self |
| 274 | } |
| 275 | } |
| 276 | |
| 277 | #[cfg(any(feature = "postgresql", feature = "sqlite", feature = "mysql"))] |