final protected function where_like($column, $replace, $position = 'both', $or = false){
        switch( strtolower($position) ){
            case 'left':
                $replace = '%'.$replace;
                break;
            case 'right':
                $replace = $replace.'%';
                break;
            default:
                $replace = '%'.$replace.'%';
                break;
        }
        $column = $this->escape_column_name($column);
        $this->_wheres[] = [$this->and_or($or), $this->db->prepare("{$column} LIKE %s", $replace)];
        return $this;
    }
final protected function where_like($column, $replace, $position = 'both', $or = false){
        switch( strtolower($position) ){
            case 'left':
                $replace = '%'.$replace;
                break;
            case 'right':
                $replace = $replace.'%';
                break;
            default:
                $replace = '%'.$replace.'%';
                break;
        }
        $column = $this->escape_column_name($column);
        $this->_wheres[] = [$this->and_or($or), $this->db->prepare("{$column} LIKE %s", $replace)];
        return $this;
    }
final protected function where_like ( $ column , $ replace , $ position = 'both' , $ or = false ) { switch ( strtolower ( $ position ) ) { case 'left' : $ replace = '%' . $ replace ; break ; case 'right' : $ replace = $ replace . '%' ; break ; default : $ replace = '%' . $ replace . '%' ; break ; } $ column = $ this -> escape_column_name ( $ column ) ; $ this -> _wheres [ ] = [ $ this -> and_or ( $ or ) , $ this -> db -> prepare ( "{$column} LIKE %s" , $ replace ) ] ; return $ this ; }
Add Where LIKE

@param string $column
@param string $replace
@param string $position Position of %. 'left', 'right' or 'both'
@param bool $or
@return $this
Add Where LIKE