public function where($column, $value, $operator = '=', $table = null)
    {
        $table = $table? $table : $this->table;
        $this->wheres[] = [
            'table' => $table,
            'column' => $column,
            'value' => $value,
            'operator' => $operator
        ];
        return $this;
    }
public function where($column, $value, $operator = '=', $table = null)
    {
        $table = $table? $table : $this->table;
        $this->wheres[] = [
            'table' => $table,
            'column' => $column,
            'value' => $value,
            'operator' => $operator
        ];
        return $this;
    }
public function where ( $ column , $ value , $ operator = '=' , $ table = null ) { $ table = $ table ? $ table : $ this -> table ; $ this -> wheres [ ] = [ 'table' => $ table , 'column' => $ column , 'value' => $ value , 'operator' => $ operator ] ; return $ this ; }
Sets a WHERE condition

@param string $column Column name
@param string $value Value to match
@param string $operator Operator to compare with
@param string $table Table
@return object Database instance
Sets a WHERE condition