public function whereJsonContains($column, $value, $boolean = 'and', $not = false)
    {
        $type = 'JsonContains';

        $this->wheres[] = compact('type', 'column', 'value', 'boolean', 'not');

        if (! $value instanceof Expression) {
            $this->addBinding($this->grammar->prepareBindingForJsonContains($value));
        }

        return $this;
    }
public function whereJsonContains($column, $value, $boolean = 'and', $not = false)
    {
        $type = 'JsonContains';

        $this->wheres[] = compact('type', 'column', 'value', 'boolean', 'not');

        if (! $value instanceof Expression) {
            $this->addBinding($this->grammar->prepareBindingForJsonContains($value));
        }

        return $this;
    }
public function whereJsonContains ( $ column , $ value , $ boolean = 'and' , $ not = false ) { $ type = 'JsonContains' ; $ this -> wheres [ ] = compact ( 'type' , 'column' , 'value' , 'boolean' , 'not' ) ; if ( ! $ value instanceof Expression ) { $ this -> addBinding ( $ this -> grammar -> prepareBindingForJsonContains ( $ value ) ) ; } return $ this ; }
Add a "where JSON contains" clause to the query.

@param  string  $column
@param  mixed  $value
@param  string  $boolean
@param  bool  $not
@return $this
Add a where JSON contains clause to the query .