MysqliDb::joinWhere PHP Method

joinWhere() public method

This method allows you to specify multiple (method chaining optional) AND WHERE statements for the join table on part of the SQL query.
public joinWhere ( string $whereJoin, string $whereProp, mixed $whereValue = 'DBNULL', $operator = '=', $cond = 'AND' ) : dbWrapper
$whereJoin string The name of the table followed by its prefix.
$whereProp string The name of the database field.
$whereValue mixed The value of the database field.
return dbWrapper
    public function joinWhere($whereJoin, $whereProp, $whereValue = 'DBNULL', $operator = '=', $cond = 'AND')
    {
        $this->_joinAnd[$whereJoin][] = array($cond, $whereProp, $operator, $whereValue);
        return $this;
    }