protected function compileJsonUpdateColumn($key, JsonExpression $value)
    {
        $path = explode('->', $key);

        $field = $this->wrapValue(array_shift($path));

        $accessor = '"$.' . implode('.', $path) . '"';

        return "{$field} = json_set({$field}, {$accessor}, {$value->getValue()})";
    }