protected function whereJsonContains(Builder $query, $where)
    {
        $not = $where['not'] ? 'not ' : '';

        return $not.$this->compileJsonContains(
            $where['column'], $this->parameter($where['value'])
        );
    }
protected function whereJsonContains(Builder $query, $where)
    {
        $not = $where['not'] ? 'not ' : '';

        return $not.$this->compileJsonContains(
            $where['column'], $this->parameter($where['value'])
        );
    }
protected function whereJsonContains ( Builder $ query , $ where ) { $ not = $ where [ 'not' ] ? 'not ' : '' ; return $ not . $ this -> compileJsonContains ( $ where [ 'column' ] , $ this -> parameter ( $ where [ 'value' ] ) ) ; }
Compile a "where JSON contains" clause.

@param  \Illuminate\Database\Query\Builder  $query
@param  array  $where
@return string
Compile a where JSON contains clause .