pub fn add_where<L: Into<String>, R: Into<String>>(
        &mut self,
        field: L,
        equality: Equality,
        clause: R,
    ) -> &mut Self {
        self.filters.push(Filter {
            key: field.into(),
            symbol: equality.to_string(),
            value: clause.into(),
        });
        self
    }
/// Adds a filter under using given condition
/// # Examples
/// ```
/// use igdb_rs::client::IGDBClient;
/// use igdb_rs::request_builder::Equality;
///
/// let mut request = IGDBClient::create_request();
/// request
/// .add_where("id", Equality::GreaterOrEqual, "20")
/// .add_where("onlinemax", Equality::LessOrEqual, "12")
/// .contains("name", "Fighter");
/// ```
Adds a filter under using given condition
Adds a filter under using given condition
pub fn add_where<L: Into<String>, R: Into<String>>(
        &mut self,
        field: L,
        equality: Equality,
        clause: R,
    ) -> &mut Self {
        self.filters.push(Filter {
            key: field.into(),
            symbol: equality.to_string(),
            value: clause.into(),
        });
        self
    }
pub fn add_where < L : Into < String > , R : Into < String > > ( & mut self , field : L , equality : Equality , clause : R , ) -> & mut Self { self . filters . push ( Filter { key : field . into ( ) , symbol : equality . to_string ( ) , value : clause . into ( ) , } ) ; self }
Adds a filter under using given condition
Adds a filter under using given condition
&mut self
field
L
equality
Equality
clause
R
&mut self
field
L
equality
Equality
clause
R
examples
```
use igdb_rs::client::IGDBClient;
use igdb_rs::request_builder::Equality.

let mut request = IGDBClient::create_request();
request
.add_where("id", Equality::GreaterOrEqual, "20")
.add_where("onlinemax", Equality::LessOrEqual, "12")
.contains("name", "Fighter");
```
` ` ` use igdb_rs :: client :: IGDBClient ; use igdb_rs :: request_builder :: Equality . let mut request = IGDBClient :: create_request () ; request . add_where ( " id " Equality :: GreaterOrEqual " 20 " ) . add_where ( " onlinemax " Equality :: LessOrEqual " 12 " ) . contains ( " name " " Fighter " ) ; ` ` `